2005/11/21, Jose Alberto Fernandez <[EMAIL PROTECTED]>:
There's no support for pascal strings yet. But I think it is a great idea to add ByteBuffer.put/getPascalString(...). You can also provide us some patches if you've implemented it already
Trustin
--
My clients are J2ME devices, so I have a very sharp limit on the APIs that I can rely on and what I can use.If I use DataOutput.writeUTF(String)/DataInput.readUTF(), the wire format will be something like <size> <ModifiedUTF-8StringRep>.
Do you know if there is a CharSet definition for the "Modified UTF-8" format? I am never certain which one do the official UTF-8 and which ones do Java's own modified representation.
There's no support for pascal strings yet. But I think it is a great idea to add ByteBuffer.put/getPascalString(...). You can also provide us some patches if you've implemented it already
Trustin
what we call human nature is actually human habit
--
http://gleamynode.net/
