code: protected void onStdoutChars(CharBuffer buffer, boolean closed, CoderResult coderResult)
     {
        // Consume the entire buffer by default.
        buffer.position(buffer.limit());
     }
docs: Override this to receive decoded Unicode Java string data read from
  stdout.
  <p>
  Make sure to set the {@link CharBuffer#position() position} of
  {@code buffer} to indicate how much data you have read before returning.
  
  @param buffer The {@link CharBuffer} receiving Unicode string data.