LByteBuffer constructor

LByteBuffer(
  1. int size, {
  2. bool readOnly = false,
  3. bool doSigned = false,
})

Implementation

LByteBuffer(int size, {this.readOnly = false, this.doSigned = false}) {
  if (doSigned) {
    _data = Int8List(size);
  } else {
    _data = Uint8List(size);
  }
  _limit = size;
}