David Renshaw
0e99996372
Throw exception on 0-byte read.
2020-05-08 09:09:18 -04:00
David Renshaw
252acd2b32
typo
2015-08-17 22:14:50 -04:00
David Renshaw
2127084a53
Update ByteBuffer.position() one last time before returning from Serialize.read().
2015-08-17 22:13:06 -04:00
David Renshaw
7f13ed114a
Some minor nitpicks.
2015-06-13 15:03:20 -07:00
Mark Raynsford
63c56646de
Implement computeSerializedSizeInWords for non-packed messages. Addresses #33 .
2015-06-13 15:01:36 +00:00
Ben Challenor
d2634a21d0
Support reading all segments from a single ByteBuffer, with tests
...
Sometimes it is desirable to read all segments from a single ByteBuffer,
e.g. if reading messages from a memory-mapped file.
Here we add such support, and add a test to check that the ByteBuffer
read behaves the same as the ReadableByteChannel read.
2015-05-03 19:04:07 +01:00
David Renshaw
8cc1cfa60c
ReaderOptions
2014-10-10 12:10:15 -04:00
David Renshaw
03774fff34
add license comment to source files
2014-10-08 16:20:15 -04:00
David Renshaw
1a039892af
read limiting
2014-10-08 15:16:17 -04:00
David Renshaw
db04e2da5e
simplify naming for serialize functions
2014-10-01 13:15:46 -04:00
David Renshaw
196f67bb5d
stop using GatheringByteChannel
2014-09-03 17:21:44 -04:00
David Renshaw
dbeb32dcca
write until hasRemaining() == false
2014-06-30 10:30:04 -04:00
David Renshaw
94f76d3964
oops, forgot to add new file
2014-05-24 14:39:47 -04:00