BcsWriter constructor

BcsWriter({
  1. int size = 1024,
  2. int? maxSize,
  3. int allocateSize = 1024,
})

Implementation

BcsWriter({int size = 1024, int? maxSize, int allocateSize = 1024}) {
  _size = size;
  _maxSize = maxSize ?? MAX_U32_NUMBER.toInt();
  _allocateSize = allocateSize;
  _dataView = ByteData.sublistView(Uint8List(size));
}