default ByteArraySequence compress(@NotNull ByteArraySequence input) throws IOException {
    return compress(input, /* mayReturnSharedBuffer: */ false);
  }
default ByteArraySequence compress(@NotNull ByteArraySequence input)