SerializableBuffer constructor

SerializableBuffer(
  1. Uint8List buffer, {
  2. Endian endian = Endian.big,
})

Implementation

SerializableBuffer(this.buffer, {this.endian = Endian.big})
    : this.data =
          ByteData.view(buffer.buffer, buffer.offsetInBytes, buffer.length);