I\'m receiving a Bitmap in byte array through socket and I read it and then I want to set it os.toByteArray as ImageView in my application. The cod
os.toByteArray
ImageView
The buffer size should be exactly 1553040B (assuming bitmap's height, width and 32bit to encode each color).