toBytes method

List<int> toBytes()

Retrieve the accumulated bytes as a List<int> from the buffer.

Implementation

List<int> toBytes() {
  return _buffer.asBytes;
}