Android Byte Array to Bitmap Convert byteToBitmap(byte[] iconByte)

Here you can find the source of byteToBitmap(byte[] iconByte)

Description

byte To Bitmap

Declaration

public static Bitmap byteToBitmap(byte[] iconByte) 

Method Source Code

//package com.java2s;
import android.graphics.Bitmap;

import android.graphics.BitmapFactory;

public class Main {

    public static Bitmap byteToBitmap(byte[] iconByte) {
        return BitmapFactory.decodeByteArray(iconByte, 0, iconByte.length);
    }//from  w w w  . j a  v a  2 s  .  c  o  m
}

Related

  1. ByteStringToBitmap(ByteString bytes)
  2. decodeSampledBitmapFromData(byte[] data)
  3. bytes2Bimap(byte[] b)
  4. bytes2Bimap(byte[] bytes)