Class LzoCompressor

  • All Implemented Interfaces:
    Compressor

    public class LzoCompressor
    extends Object
    implements Compressor
    This class is not thread-safe
    • Constructor Detail

      • LzoCompressor

        public LzoCompressor()
    • Method Detail

      • compress

        public int compress​(byte[] input,
                            int inputOffset,
                            int inputLength,
                            byte[] output,
                            int outputOffset,
                            int maxOutputLength)
        Specified by:
        compress in interface Compressor
        Returns:
        number of bytes written to the output