write method

void write(
  1. List<int> bytes, {
  2. bool copy = false,
})
inherited

Implementation

void write(List<int> bytes, {bool copy = false}) {
  // TODO: may add to current _data buffer
  _flush();
  _bb ??= BytesBuffer();
  _bb!.add(bytes, copy: copy);
}