2005/11/29, Jose Alberto Fernandez <[EMAIL PROTECTED]>:
You'll need to override read/writeClassDescriptor() method in ObjectInput/OutputStream, and there will be four-bytes header which indicates the length of the object. This is easily done without much code.
Yes, if you use a 'UTF-8' CharsetEncoder.
HTH,
Trustin
-- Does this means that the client needs to use a different serialization
infrastructure than the one provided by the JDK?
You'll need to override read/writeClassDescriptor() method in ObjectInput/OutputStream, and there will be four-bytes header which indicates the length of the object. This is easily done without much code.
Same for the pascalStrings are they compatible with what read/writeUTF
produces?
Yes, if you use a 'UTF-8' CharsetEncoder.
HTH,
Trustin
what we call human nature is actually human habit
--
http://gleamynode.net/
