docs: static Slice compactSlice(Slice slice, int index, int length)
      {
          if (slice.isCompact() && index == 0 && length == slice.length()) {
              return slice;
          }
          return Slices.copyOf(slice, index, length);
      }