mirror of
https://codeberg.org/icewind/bitbuffer.git
synced 2026-06-03 16:44:06 +02:00
this is done by - making the buffer cloneable - allow getting a clone of the buffer with a shorter length - use the shorter buffer when reading a sub-stream that way the bounds checks in the buffer are enough to bounds check sub-streams |
||
|---|---|---|
| .. | ||
| buffer.rs | ||
| endianness.rs | ||
| is_signed.rs | ||
| lib.rs | ||
| read.rs | ||
| stream.rs | ||
| unchecked_primitive.rs | ||