The OpenD Programming Language

compress

Compress data

  1. ubyte[] compress(const(void)[] srcbuf, int level)
  2. ubyte[] compress(const(void)[] srcbuf)
    ubyte[]
    compress
    (
    const(void)[] srcbuf
    )

Parameters

srcbuf const(void)[]

buffer containing the data to compress

Return Value

Type: ubyte[]

the compressed data

Meta