Decodes data in supplied buffer using the supplied decoder.
Decodes data in supplied buffer using the supplied decoder.
This will return result of operation and next chunk of chars.
The resulting buffer size is estimated from the size of the input data, and chars per byte of the decoder.
If the encoding signals that resulting buffer is not enough for the input buffer, then this will increment the size of the buffer up to the time when all supplied data will fit to the output charbuffer
Decoder to use
Input bytes
When decoder finishes its operation, then this is invoked to output any internal state of the buffer.
When decoder finishes its operation, then this is invoked to output any internal state of the buffer.
Decoder to use
Encodes data in supplied buffer using the supplied encoder.
Encodes data in supplied buffer using the supplied encoder.
This will return result of the operatin and next cunk of bytes.
The resulting buffer size is estimated from the size of the input data, and chars per byte of the decoder.
If the encoding signals that resulting buffer is not enough for the input buffer, then this will increment the size of the buffer up to the time when all supplied data will fit to the output charbuffer
Encoder to use
Input characters
Signals if this is last encoding to perform.
When encoder finishes its operation, then this is invoked to output any internal state of the buffer.
When encoder finishes its operation, then this is invoked to output any internal state of the buffer.
Encoder to use