Packer constructor

Packer([
  1. int _bufSize = 64
])

Provide the _bufSize size, that minimal enough to fit your most used data packets. Try to find balance, small buffer is good, and if most of your data will fit to it, performance will be good. If buffer not enough it will be increased automatically.

Implementation

Packer([this._bufSize = 64]) {
  _newBuf(_bufSize);
}