dart / 2 / dart-typed_data / bytesbuilder / takebytes.html

takeBytes method

Uint8List takeBytes()

Returns the bytes currently contained in this builder and clears it.

The returned list may be a view of a larger buffer.

Implementation

Uint8List takeBytes();

© 2012 the Dart project authors
Licensed under the BSD 3-Clause "New" or "Revised" License.
https://api.dart.dev/stable/2.18.5/dart-typed_data/BytesBuilder/takeBytes.html