@Override
    public void sendTo(ByteBuffer out) {
      int len = remaining();
      while (len > 0) {
        out.put(get());
        len--;
      }
      // We will not even create an instance of this class if createByteBuffer works on this
      // platform.
      // if (len > 0) {
      // ByteBuffer bb = this.chunk.createByteBuffer();
      // bb.position(position());
      // bb.limit(limit());
      // out.put(bb);
      // position(limit());
      // }
    }
Return true if the hardware supports unaligned reads from memory.
geode-core/src/main/java/org/apache/geode/internal/tcp/ByteBufferInputStream.java