ByteBuffer.factory constructor
      
      ByteBuffer.factory(
    
    
- int length
Implementation
ByteBuffer.factory(int length) {
  final bytes = calloc.allocate<Uint8>(length);
  _data = bytes;
  _length = length;
  data = bytes.asTypedList(length);
  _finalizer.attach(this, bytes);
}