.get_stream_helper()
Operators and methods by mwx::stream
via a stream_helper helper object that references a smplbuf array of type uint8_t
.
Helper object type names are resolved by auto&&
because they are long. The interfaces defined in mwx::stream
, such as <<
operator, can be used for this object.
The generated helper object bs
starts reading/writing from the beginning of the main array b
when it is created. If it is at the end of the array, data is added by append()
. Each time a read/write operation is performed, the position is moved to the next one.
Helper functions can use the >>
operator for reading.
最終更新