pub unsafe fn q_compress_uchar2_int(
    data: *const c_uchar,
    nbytes: c_int,
    compression_level: c_int
) -> CppBox<QByteArray>
Expand description

This is an overloaded function.

Calls C++ function: QByteArray qCompress(const unsigned char* data, int nbytes, int compressionLevel = …).

C++ documentation:

This is an overloaded function.

Compresses the first nbytes of data at compression level compressionLevel and returns the compressed data in a new byte array.