I am trying to write a large String into my DataOutputStream however I am getting a UTFDataFormatException that says:
String more than 65535 UTF bytes long
This happens when I call:
byteOut.writeUTF(stringArray.get(i));
byteOut being my DataOutputStream and stringArray.get(i); being my string.
Is there anyway to get large string into this DataOutputStream or is there another solution.
Thanks!