DartCodecBuffer constructor

DartCodecBuffer(
  1. int length
)

Constructs a DartCodecBuffer that is backed by a Uint8List with the provided length.

Implementation

DartCodecBuffer(super.length) : _list = Uint8List(length);