docs: public static byte[] encodeBZ(byte[] data) {
      try {
        int blockSize = 4;
        ByteArrayOutputStream output = new ByteArrayOutputStream();
        BZip2CompressorOutputStream compresser = new BZip2CompressorOutputStream(output, blockSize);
        compresser.write(data);
        compresser.close();
        byte[] bytes = output.toByteArray();
        return bytes;
      } catch (IOException e) {
        throw new RuntimeException(e);
      }
    }