Beast Logo

PrevUpHomeNext
basic_flat_buffer::commit

Move bytes from the output sequence to the input sequence.

Synopsis
void
commit(
    std::size_t n);
Description
Parameters

Name

Description

n

The number of bytes to move. If this is larger than the number of bytes in the output sequences, then the entire output sequences is moved.

Remarks

All previous buffers sequences obtained from calls to basic_flat_buffer::data or basic_flat_buffer::prepare are invalidated.


PrevUpHomeNext