Expand description
A bounded sub-reader that re-bases a partition to offset zero.
A whole-disk image (raw, EWF- or VMDK-backed) holds several partitions. The
NTFS reader expects offset 0 to be the volume boot record, so opening a
partition means presenting just that partition’s byte window as if it began
at zero. OffsetReader does exactly that — and refuses every read or seek
that would escape the window, so the filesystem layer cannot wander into an
adjacent partition no matter how corrupt the structures it follows.
Structs§
- Offset
Reader - A
Read + Seekview of[base, base + len)within an underlying source, addressed as if it began at offset 0.