CodecResult constructor

const CodecResult(
  1. int readCount,
  2. int writeCount, {
  3. bool adjustBufferCounts = true,
})

Construct a CodecResult that defines the number of bytes that were read and written by a Codec routine.

Implementation

const CodecResult(this.readCount, this.writeCount,
    {this.adjustBufferCounts = true});