@Override
    public ByteArraySequence read(@NotNull ByteBuffer input) throws IOException {
      byte[] array = new byte[input.remaining()];
      input.get(array);
      return ByteArraySequence.create(array);
    }
@Override
    public ByteArraySequence read(@NotNull ByteBuffer input)