A DESCRIPTION OF THE REQUEST :
Missing:
getUTF()
putUTF()
getBoolean()
putBoolean()
JUSTIFICATION :
- for now, binary files, written by java.io.DataOutput#writeUTF() can't be read via FileChannel.
- internal implementations of abstract class ByteBuffer couldn't be extended accordingly by developer.
- Developer should stay at slow java.io.XputStream classes, (in worst case using BufferedInputStream, if random access is required).
- Additionally I see no reason, why boolean accessors can't be added for convenience.
- Using charset driven InputStreamReader would be much slower, and incompatible to data, written by DataOutput#writeUTF, as there is no decoder for *modified* UTF-8.
Missing:
getUTF()
putUTF()
getBoolean()
putBoolean()
JUSTIFICATION :
- for now, binary files, written by java.io.DataOutput#writeUTF() can't be read via FileChannel.
- internal implementations of abstract class ByteBuffer couldn't be extended accordingly by developer.
- Developer should stay at slow java.io.XputStream classes, (in worst case using BufferedInputStream, if random access is required).
- Additionally I see no reason, why boolean accessors can't be added for convenience.
- Using charset driven InputStreamReader would be much slower, and incompatible to data, written by DataOutput#writeUTF, as there is no decoder for *modified* UTF-8.
- relates to
-
JDK-6428672 Add Charset support for "modified UTF-8"
-
- Open
-