WriteBuffer constructor

WriteBuffer()

Creates an interface for incrementally building a ByteData instance.

Implementation

WriteBuffer() {
  _buffer = Uint8Buffer();
  _eightBytes = ByteData(8);
  _eightBytesAsList = _eightBytes.buffer.asUint8List();
}