Trying to display image retrived from server with base64 encoding but cant display the correct image

前端 未结 0 1974
爱一瞬间的悲伤
爱一瞬间的悲伤 2021-02-08 07:29

These are my encoding and decoding methods.

public String encodeBase64(Bitmap bit){
    ByteArrayOutputStream baos = new ByteArrayOutputStream();
    bit.compress         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题