|
gzi
gzip Input Base Module
Module DescriptionThe gzi module implements the gzip inflate algorithm. The module is used for reading from a gzip file zif and, in a future version, stream zis. Module Wordsgzi constantsgzi.ok ( -- n ) Decompression step is okeegzi.done ( -- n ) Decompression is donegzi.more ( -- n ) Decompression step needs more datagzi.states ( -- n ) Decompression step states gzi structuregzi% ( -- n ) Get the required space for a gzi variable gzip inflation variable creation, initialisation and destructiongzi-init ( u gzi -- ) Initialise the gzip inflation variable with an initial output buffer size ugzi-(free) ( gzi -- ) Free the internal, private variables from the heapgzi-create ( "<spaces>name" u -- ; -- gzi ) Create a named gzip inflation variable in the dictionary with an initial output buffer size ugzi-new ( -- gzi ) Create a new gzip inflation variable on the heapgzi-free ( gzi -- ) Free the variable from the heap Member wordsgzi-lbf@ ( gzi -- lbf ) Get the output buffer Inflate wordsgzi-init-inflate ( gzi -- ) Start the inflation of datagzi-inflate ( gzi -- ior ) Do the next step in inflating data, return the result codegzi-reduce-output ( gzi -- ) Check if the output buffer can be reducedgzi-end-inflate ( gzi -- ) Finish the inflation of data Inspectiongzi-dump ( gzi -- ) Dump the gzi Generated by ofcfrth-0.10.0 |