ark::serialization::OutputStreamState

Defined in header “ark/serialization/output_stream.hh”.


State of the output stream. Used to maintain pointers when nesting serialization calls (such as when writing out objects).

Variables

  • size_t previous_header_offset_= 0
    The location of the bitstream that we started outputting the previous header at, in a chain. This allows us to flip a “expect more groups” bit.

  • size_t group_start_offset_= 0
    The location in the bitstream of the current group (or zero if no group is active).

  • bool wrote_bitstream_header_= false
    Indicates if we wrote a bitstream header.