memory - Android base64.decode() into existing byte array -
On Android, I'm using the Base64.decode () method. It has many variations, but decodes all of the given base 64 inputs into a newly created byte array.
Since I need to call it with too much input, it allocates a lot of memory and often causes GCs.
So I'm thinking that the method, or alternate techniques, is a way of passing the existing byte array, so that it keeps the result inside the current byte array and avoiding memory allocation for a new one .
>
Comments
Post a Comment