Well in that case we need to expand the code somewhat.
try {
final BufferedImage bufferedImage = ImageIO.read(new ByteArrayInputStream(myByteArray));
...
Type: Posts; User: Json
Well in that case we need to expand the code somewhat.
try {
final BufferedImage bufferedImage = ImageIO.read(new ByteArrayInputStream(myByteArray));
...
It will just contain the image data, what would you like to do with the image after this?
// Json
How about this.
try {
final BufferedImage bufferedImage = ImageIO.read(new ByteArrayInputStream(myByteArray));
} catch (IOException e) {
...