pub fn until_eof<R, T, Arg, Ret>(
reader: &mut R,
ro: &ReadOptions,
args: Arg,
) -> BinResult<Ret>
Expand description
Read items until the end of the file is hit.
§Examples
#[derive(BinRead)]
struct EntireFile {
#[br(parse_with = until_eof)]
data: Vec<u8>,
}