pub fn read_bytes<R: Read + Seek>(
reader: &mut R,
options: &ReadOptions,
_: (),
) -> BinResult<Vec<u8>>
Expand description
A helper for more efficiently mass-reading bytes
ยงExample:
#[derive(BinRead)]
struct BunchaBytes {
#[br(count = 5)]
data: Vec<u8>
}