The Open
D
Programming Language
Learn
Language
Library
Contribute
Blog
compress
std
zlib
Compress data
ubyte
[]
compress
(const(void)[] srcbuf, int level)
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
Source
See Implementation
std
zlib
classes
Compress
UnCompress
ZlibException
enums
HeaderFormat
functions
adler32
compress
crc32
uncompress
Compress data