docs: public ShortBuffer slice () {
        byteBuffer.limit(limit << 1);
        byteBuffer.position(position << 1);
        ShortBuffer result = new ShortBuffer(byteBuffer.slice());
        byteBuffer.clear();
        return result;
      }