<compressed> ( data length -- compressed )


Vocabulary
compression.zlib

Inputs and outputs
dataa byte-array
lengthan integer
compresseda compressed


Word description
Creates a new compressed, using the provided bytes as the compressed data and the provided length as the uncompressed length. You should almost always use compress, rather than using this constructor directly.

Definition
USING: accessors kernel ;

IN: compression.zlib

: <compressed> ( data length -- compressed )
compressed new swap >>length swap >>data ;