@Override
    public ByteSource slice(int pos, int limit) {
      if ((limit > capacity()) || (limit < 0)) {
        throw new IllegalArgumentException();
      }
      if ((pos > limit) || (pos < 0)) {
        throw new IllegalArgumentException();
      }
      return new OffHeapByteSource(chunk.slice(pos, limit));
    }
Return true if the hardware supports unaligned reads from memory.
geode-core/src/main/java/org/apache/geode/internal/tcp/ByteBufferInputStream.java