private void makeReadableBufferWriteable(final ByteBuffer inputBuffer) {
    inputBuffer.position(inputBuffer.limit());
    inputBuffer.limit(inputBuffer.capacity());
  }
processes the current NIO buffer. If there are complete messages in the buffer, they are
deserialized and passed to TCPConduit for further processing

pre-condition: inputBuffer (from inputSharing.getBuffer()) is in WRITABLE mode
post-condition: inputBuffer is in WRITABLE mode
geode-core/src/main/java/org/apache/geode/internal/tcp/Connection.java