Writer used for converting GeneratedMessages into binary representation.
Note that it is impossible to serialize protobuf messages using a one pass streaming serialization as some values are serialized using length-delimited representation, which means that they are represented as a varint encoded length followed by specified number of bytes of data.
Due to this
CodedBufferWritter maintains two output buffers:
_outputChunks which contains all continuously written bytes and
_splices which describes additional bytes to splice in-between
Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
) → Uint8List
) → String
A string representation of this object. [...]
int fieldNumber, int fieldType, dynamic fieldValue) → void
int value) → void
TypedData value) → void
- Add TypedData splice - these bytes would be directly copied into the output buffer by writeTo.
Uint8List buffer, [int offset = 0]) → bool
Serializes everything written to this writer so far to
buffer, starting from