llvm::codeview::consume_numeric

Decodes a numeric leaf value that is known to be a particular type.

Synopsis

Declared in <llvm/DebugInfo/CodeView/RecordSerialization.h>

Error
consume_numeric(
    BinaryStreamReader& Reader,
    uint64_t& Value);

Return Value

Lightweight error class with error context and mandatory checking.

Parameters

NameDescription
ReaderProvides read only access to a subclass of BinaryStream. Provides bounds checking and helpers for writing certain common data types such as null-terminated strings, integers in various flavors of endianness, etc. Can be subclassed to provide reading of custom datatypes, although no are overridable.