Commit Graph
8 Commits
Author SHA1 Message Date
Carl Lerche 6b624b849a Make MutBuf::advance unsafe
Closes #38
2015-12-03 19:57:08 -08:00
Florian Hartwig 01c1e05a91 Implement Debug for the various ByteBuf types 2015-09-25 09:47:46 -07:00
Carl Lerche b4abd1431a Mark MutBuf::mut_buf as unsafe
`MutBuf::mut_buf` allows access to uninitialized memory.
2015-07-26 11:02:46 -07:00
Carl Lerche 296cac263c Implement buffer traits on Vec<u8>, &[u8], Cursor 2015-07-24 16:52:19 -07:00
Paul Cavallaro 23ad12f842 Add bytes() method to MutByteBuf to allow reading of data already written
without necessitating flipping to ByteBuf.
2015-07-17 22:22:58 -04:00
Jamie Turner 7b63fa034f Add resume() method to ByteBuf that restores prior write position. 2015-07-02 17:19:43 -07:00
Dan Burkert 4d645c7f53 add mark/reset feature to ByteBuf and RingBuf 2015-04-11 15:18:32 -07:00
Carl Lerche ac42766535 Group files as buf or byte str related 2015-04-07 23:40:00 -07:00