writeVector method

void writeVector(
  1. List<Uint8List> vector
)

Writes a list of Uint8List bytes with the length of the vector given by a varint.

Implementation

void writeVector(List<Uint8List> vector) {
  writeVarInt(BigInt.from(vector.length));
  for (final bytes in vector) {
    writeVarSlice(bytes);
  }
}