Details
-
Sub-Task
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
None
-
None
Description
String parameters send with text protocol use a lot of array to be send to server.
actual :
- String.getByte("UTF-8") = String transformation to UTF-8 (= creation of an array with size 3*string length, transform char array to this byte. Copy to an array of the definitive size,
- loop every byte to escape ' char or ',\," caracters according to escape mode.
- send to ouput
decoding string to UTF-8 to a an array with size 3*string length (escape chars are ASCII, so escape char are 1 byte) with direct escape. When definitive size is known, write directly to output