compression.zlib.ffi vocabulary
Factor handbook ยป Vocabulary index


Summary
Low-level FFI bindings to ZLIB compression library

Metadata
Authors:Doug Coleman


Words

Tuple classes
ClassSuperclassSlots
gz_header struct
z_stream struct


Symbol words
Bytef
gzFile
gz_headerp
uInt
uLong
uLongf
z_streamp


Ordinary words
WordStack effect
ZLIB_VERSION( -- value )
Z_BEST_COMPRESSION( -- value )
Z_BEST_SPEED( -- value )
Z_BINARY( -- value )
Z_BLOCK( -- value )
Z_BUF_ERROR( -- value )
Z_DATA_ERROR( -- value )
Z_DEFAULT_COMPRESSION( -- value )
Z_DEFAULT_STRATEGY( -- value )
Z_DEFLATED( -- value )
Z_ERRNO( -- value )
Z_FILTERED( -- value )
Z_FINISH( -- value )
Z_FIXED( -- value )
Z_FULL_FLUSH( -- value )
Z_HUFFMAN_ONLY( -- value )
Z_MEM_ERROR( -- value )
Z_NEED_DICT( -- value )
Z_NO_COMPRESSION( -- value )
Z_NO_FLUSH( -- value )
Z_OK( -- value )
Z_PARTIAL_FLUSH( -- value )
Z_RLE( -- value )
Z_STREAM_END( -- value )
Z_STREAM_ERROR( -- value )
Z_SYNC_FLUSH( -- value )
Z_TEXT( -- value )
Z_TREES( -- value )
Z_UNKNOWN( -- value )
Z_VERSION_ERROR( -- value )
adler32( adler buf len -- uLong )
compress( dest destLen source sourceLen -- int )
compress2( dest destLen source sourceLen level -- int )
compressBound( sourceLen -- uLong )
crc32( crc buf len -- uLong )
deflate( strm flush -- int )
deflateBound( strm sourceLen -- uLong )
deflateCopy( dest source -- int )
deflateEnd( strm -- int )
deflateInit2_( strm level method windowBits memLevel strategy version stream_size -- int )
deflateInit_( strm level version stream_size -- int )
deflateParams( strm level strategy -- int )
deflatePrime( strm bits value -- int )
deflateReset( strm -- int )
deflateSetDictionary( strm dictionary dictLength -- int )
deflateSetHeader( strm head -- int )
deflateTune( strm good_length max_lazy nice_length max_chain -- int )
gzbuffer( file size -- int )
gzclearerr( file -- )
gzclose( file -- int )
gzclose_r( file -- int )
gzclose_w( file -- int )
gzdirect( file -- int )
gzdopen( fd mode -- gzFile )
gzeof( file -- int )
gzerror( file errnum -- c-string )
gzflush( file flush -- int )
gzgetc( file -- int )
gzgets( file buf len -- c-string )
gzputc( file c -- int )
gzputs( file s -- int )
gzread( file buf len -- int )
gzrewind( file -- int )
gzsetparams( file level strategy -- int )
gzungetc( c file -- int )
gzwrite( file buf len -- int )
inflate( strm flush -- int )
inflateCopy( dest source -- int )
inflateEnd( strm -- int )
inflateGetHeader( strm head -- int )
inflateInit2_( strm windowBits version stream_size -- int )
inflateInit_( strm version stream_size -- int )
inflateMark( strm -- long )
inflatePrime( strm bits value -- int )
inflateReset( strm -- int )
inflateReset2( strm windowBits -- int )
inflateSetDictionary( strm dictionary dictLength -- int )
inflateSync( strm -- int )
uncompress( dest destLen source sourceLen -- int )
zlibCompileFlags( -- uLong )
zlibVersion( -- c-string )


Class predicate words
WordStack effect
gz_header?( object -- ? )
z_stream?( object -- ? )


Files


Metadata files