ByteOutput constructor

ByteOutput([
  1. int initialLength = 1024
])

Construct a new empty ByteOutput.

If copy is true (the default), the created builder is a copying builder. A copying builder maintains its own internal buffer and copies the bytes added to it eagerly.

If copy set to false, the created builder assumes that lists added to it will not change.

Implementation

ByteOutput([int initialLength = 1024]) : _buffer = Uint8Buffer(initialLength);