compress

Component that returns a Range that will compress src using LZ77 compression.

Description: Compresses input of arbitrarily large size.

compress() does not allocate memory, although it uses a little over 8Kb of stack if src is not an array.

compress
(
R
)
(
R src
)
if (
isInputRange!R &&
is(ElementType!R : ubyte)
)

Return Value

Type: auto

InputRange

Meta