Struct llvm_bitstream::parser::StreamParser
source · [−]Expand description
A parser for individual bitstream entries.
This structure is not a general-purpose parser for bitstream inputs:
it expects to be given a prepared BitCursor
whose internal
state is correct (i.e., has been advanced past the initial input magic).
For a general-purpose parser with the correct state management, see
Bitstream
.
Implementations
Return the next StreamEntry
in this bitstream.
Returns an error on any parsing error, or the special
Error::Exhausted
if the bitstream has
been fully consumed.