pub fn read_with_reader(
file: &Bytes,
start: i128,
tree: &Arc<Tree>,
ctx: &ReadCtx<'_>,
kind: ReaderKind,
) -> Result<Parsed, ReadError>Expand description
read by the rules of the file’s reader: on the stream reader (a file
loaded from a path) start is a position its seek took (never
negative), a read stops at the end, a fixed-width read is
unpack(read(n)), a TypelessData length below -1 raises, and an
alignment to 2^63 or more raises as the seek it makes does
(crate::stream::ReaderKind), so bytes_read is never negative.