Uint8List constructor
- int length
Creates a Uint8List of the specified length (in elements), all of whose elements are initially zero.
The list is backed by a ByteBuffer containing precisely length
bytes.
Implementation
external factory Uint8List(int length);
© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dart.dev/stable/2.13.0/dart-typed_data/Uint8List/Uint8List.html