HomeSerpent OS

binary/reader: Convert to mmap() based Reader

Description

binary/reader: Convert to mmap() based Reader

We now use mmap to read the underlying file, which makes reading
it significantly faster *and* easier. With the new code we're
able to trivially iterate all Payloads within the stream, without
having to even process them.

Signed-off-by: Ikey Doherty <ikey@serpentos.com>

Details

Provenance
ikeyAuthored on Tue, Feb 23, 12:59 AM
Parents
rMFMdc695185b4cc: binary/reader: Reintroduce ReaderToken as abstract supertype
Branches
Unknown
Tags
Unknown