oa::MappedFile
Read-only whole-file mapping with RAII ownership. Linux uses mmap. Other platforms retain a read-only owned byte buffer until a native mapping implementation is added.
Public Methods
Constructor & Destructor Documentation
Public Method Documentation
No public source comment is attached to this declaration.
Returns
oa::Span<const oa::U8>The declared return value.
No public source comment is attached to this declaration.
Returns
voidThe declared return value.
No public source comment is attached to this declaration.
Returns
const oa::U8 *The declared return value.
No public source comment is attached to this declaration.
Returns
boolThe declared return value.
No public source comment is attached to this declaration.
Parameters
inPathconst oa::Path &—
Returns
oa::StatusThe declared return value.
No public source comment is attached to this declaration.
Returns
const oa::Path &The declared return value.
No public source comment is attached to this declaration.
Returns
oa::UsizeThe declared return value.
No public source comment is attached to this declaration.
Parameters
inOffsetoa::U64—
inSizeoa::U64—
Returns
oa::Result<oa::Span<const oa::U8>>The declared return value.