putRawEntry method

void putRawEntry(
  1. int fieldId,
  2. int wireType,
  3. Uint8List source,
  4. int start,
  5. int end,
)

Copies an encoded value verbatim, for forward-compatibility round trips.

start must point at the first byte of the value (just past the key) and end just past it. Wire-type-specific framing is preserved as-is.

Implementation

void putRawEntry(
  int fieldId,
  int wireType,
  Uint8List source,
  int start,
  int end,
) {
  _ensureOpen();
  _sink.putRawEntry(fieldId, wireType, source, start, end);
}