int frameSize = reader.ReadInt32(); byte[] data = reader.ReadBytes(frameSize); Bgr565[] pixels = new Bgr565[data.Length / 16]; int currentPixel = 0; for (int i = 0; i < data.Length; i += 2) { pixels[currentPixel].PackedValue = (data[i] << 8 ) + data[i+1]; currentPixel++; } _texture.SetData(pixels);