J
jespersahner
In Java IO the DataInputStream-class supports readInt()-,
readDouble()- og especially readUTF(). In Java NIO the ByteBuffer-class
has the same functionality through getInt(), getDouble() - but getUTF()
doesn't exist.
How is UTF read with Java NIO?
You can probably make a workaround by copying the source from
readUFT() in the DataInputStream-class, by I wonder why there isn't a
getUTF()-method in the ByteBuffer-class.
Am I missing something?
readDouble()- og especially readUTF(). In Java NIO the ByteBuffer-class
has the same functionality through getInt(), getDouble() - but getUTF()
doesn't exist.
How is UTF read with Java NIO?
You can probably make a workaround by copying the source from
readUFT() in the DataInputStream-class, by I wonder why there isn't a
getUTF()-method in the ByteBuffer-class.
Am I missing something?