llvm::BinarySubstreamRef

A substream identified by an absolute offset and a BinaryStreamRef.

Synopsis

Declared in <llvm/Support/BinaryStreamRef.h>

struct BinarySubstreamRef;

Member Functions

NameDescription
drop_front Return a substream with the first N bytes removed.
empty Return true if this substream has zero length.
keep_front Return a substream containing only the first N bytes.
size Return the length in bytes of this substream.
slice Return a substream of this substream.
split Split this substream at Off into a front and back pair.

Data Members

NameDescription
Offset Absolute offset of this substream in the parent stream.
StreamData Stream data that makes up this substream.