Encodes data and writes the result to output.
public void Encode(ReadOnlySpan<byte> data, IBufferWriter<byte> output, StreamEncoderContext context)
The data to encode: the stream's data, or the previous encoder's output in a chain. May be empty.
Where to write the encoded bytes.
The parameters the decoding filter will read, the stream's dictionary and the compression level.
ISO 32000-2 §7.4.8, §8.9.5 Table 87; ITU-T T.81 §4.5 (baseline sequential), Annex B.