dart / 1 / dart-typed_data / bytedata / bytedata.html

ByteData factory constructor

ByteData(int length)

Creates a ByteData of the specified length (in elements), all of whose bytes are initially zero.

Source

external factory ByteData(int length);

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dartlang.org/stable/1.24.3/dart-typed_data/ByteData/ByteData.html