1. Dart
2. dart:io
3. BytesBuilder
4. takeBytes abstract method

##### BytesBuilder class

1. Constructors
2. BytesBuilder
3. Properties
4. isEmpty
5. isNotEmpty
6. length
7. hashCode
8. runtimeType
9. Methods
10. add
11. addByte
12. clear
13. takeBytes
14. toBytes
15. noSuchMethod
16. toString
17. Operators
18. operator ==

description

# takeBytes 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.

## Implementation

    List<int> takeBytes();