I need to read and write signed and unsigned integers with a SeekableByteChannel in little endian format. This may seem silly, but I cannot find something in the JDK. Have I missed something or am I expected to roll this on my own? This would be no problem, but I don’t feel like reinventing the wheel today. 🙂
I need to read and write signed and unsigned integers with a SeekableByteChannel in
Share
Sounds like a work for the ByteBuffer.
Somewhat like