ByteBuffer constructor
ByteBuffer({
- dynamic terminatingChar = '\n',
- int capacity = 4096,
Implementation
ByteBuffer({var terminatingChar = '\n', int capacity = 4096}) {
this.terminatingChar = utf8.encode(terminatingChar)[0];
this.capacity = capacity;
_bytesBuilder = BytesBuilder(copy: false);
}