Get the resulting bytes from the buffer.
List<int> getBytes() => Uint8List.view(_buffer.buffer, 0, length);