dart / 1 / dart-io / bytesbuilder / takebytes.html

takeBytes abstract method

List<int> takeBytes()

Returns the contents of this and clears this.

The list returned is a view of the internal buffer, limited to the length.

Source

List<int> takeBytes();

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