Byte Array to StringBuffer
807603Oct 25 2007 — edited Oct 25 2007Hi Guys,
I am having a sticky problem with a type conversion and I hope you can help me out.
I want to convert variable of type byte [] [] to a StringBuffer without converting first to a string. The reason for this is I am using large stringbuffers and some early jdk versions cannot handle strings over 64K but StringBuffers will work fine. Is there any way even that I could take the byte array slice by slice and append to the Buffer until all data from the byte array has been appended? in a for loop maybe?
Any help or suggestions would be great!
Thanks,
JK