docs: public boolean onStdinReady(ByteBuffer buffer)
     {
        // TODO: Should we avoid invoking onStdinReady() when it returned false previously?
        boolean endOfInput = !this.handler.onStdinReady(charBuffer);
        CoderResult encoderResult = encoder.encode(charBuffer, buffer, endOfInput);
        buffer.flip();
        charBuffer.compact();
        if (encoderResult.isError()) {
           this.handler.onEncoderError(encoderResult);
        }
        if (encoderResult.isOverflow()) {
           return true;
        }
        else if (endOfInput) {
           CoderResult flushResult = encoder.flush(buffer);
           return flushResult.isOverflow();
        }
        else {
           return true;
        }
     }