BloombergLP::balst::Resolver_FileHelper::readExact

Read into the specified outSpan exactly the specified outSpan.size() bytes of data starting at the specified offset in the current ELF file. Return 0 on success, or a negative value otherwise. The behavior is undefined unless !outSpan.empty() and offset >= 0.

Synopsis

Declared in <balst_resolver_filehelper.h>

int
readExact(
    Span const& outSpan,
    Offset offset) const;