Decodes the content of the specified byte buffer with the specified decoder into the specified char buffer, allocating bigger ones if necessary, then compacts the byte buffer and returns the last allocated char buffer.
Decodes the content of the specified byte buffer with the specified decoder into the specified char buffer, allocating bigger ones if necessary, then compacts the byte buffer and returns the last allocated char buffer. The "endOfInput" argument indicates whether the byte buffer contains the last chunk of the input file.
Flushes the specified decoder into the specified char buffer, allocating bigger ones if necessary and then flips and returns the last allocated char buffer.