Handbook
Glossary
snappy-uncompress ( compressed -- byte-array )
Vocabulary
compression
.
snappy
Inputs
compressed
an
object
Outputs
byte-array
an
object
Definition
USING:
alien.c-types
alien.data
byte-arrays
compression.snappy.ffi
compression.snappy.private
kernel
sequences
;
IN:
compression.snappy
:
snappy-uncompress
( compressed -- byte-array )
dup
length
over
dup
length
0
size_t
<ref>
[
snappy_uncompressed_length
check-snappy
]
keep
size_t
deref
n>outs
[
snappy_uncompress
check-snappy
]
keepd
>byte-array
;