@DSSafe(DSCat.SAFE_LIST) @DSGenerator( tool_name = "Doppelganger", tool_version = "2.0", generated_on = "2014-09-03 14:59:51.857 -0400", hash_original_method = "8DBE36D3CC23C0C9E5FAAD9804EB9F8E", hash_generated_method = "B8E268DF01A1D59287B8F2ED5303EAE7" ) @Throws( IOException::class ) private fun processInput(endOfInput: Boolean) { decoderIn.flip() var coderResult: CoderResult while (true) { coderResult = decoder.decode(decoderIn, decoderOut, endOfInput) if (coderResult.isOverflow()) { flushOutput() } else if (coderResult.isUnderflow()) { break } else { throw IOException("Unexpected coder result") } } decoderIn.compact() }
Decode the contents of the input ByteBuffer into a CharBuffer .