Hi all,
I am here with question on usage of base64 class from apache common-codecs.
My code is like this:
What I supply here is byte array of a base 64 binary encoded image, I expected to recieve another byte array with array lenght slightly reduced.
But instead I recieve a byte array of size say, input length is 1020 bytes then out put will be an aryay of size 2 !
Is there any size limit that we should consider while passing argument to decodebase64() method?
I have read in the api doc that the default line size is 76 and '\n\r' are the default line breaks. Do I need to consider any configuration related to this?
Hope I have provided enough details regarding the problem...
Please guide me with your valuable answers/suggestions in this regard.
Thanks in advance,
Aravind
I am here with question on usage of base64 class from apache common-codecs.
My code is like this:
What I supply here is byte array of a base 64 binary encoded image, I expected to recieve another byte array with array lenght slightly reduced.
But instead I recieve a byte array of size say, input length is 1020 bytes then out put will be an aryay of size 2 !
Is there any size limit that we should consider while passing argument to decodebase64() method?
I have read in the api doc that the default line size is 76 and '\n\r' are the default line breaks. Do I need to consider any configuration related to this?
Hope I have provided enough details regarding the problem...
Please guide me with your valuable answers/suggestions in this regard.
Thanks in advance,
Aravind