Home Index classes Index static functions Index enumerations Index structure types

{Zlib|_compression_decompression}


CLASS {Zlib|_compression_decompression} , UNTESTED, BYTES:



IMPORT : {Stream} , {NATIVE_Zlib} .

BASE CLASS {Stream} .


    

FUNCTION Zlib_decompress (
     
{Stream} Dest|ination_decompress_to ) ==> {Zlib} , NEW



FUNCTION Zlib_decompress_in|put_stream (
     
{Stream} Source|_decompress_from ) ==> {Zlib} , NEW



FUNCTION Zlib_decompress_to_file (
     
{Stream} Source|_decompress_from ,
     
STR Dest|ination_file ,
     
INT Len|gth_source ) ==> BOOL



FUNCTION Zlib_compress (
     
{Stream} Dest|ination_compress_to ,
     
INT Level|_0_to_9_compression ) ==> {Zlib} , NEW


{Stream} Output_|stream_ , READ


{Stream} Input_|stream_ , READ


INT Handle|_to_access_native_functions


INT Compression_level


      

FUNCTION Header_len|gth_bytes_leading ==> INT



OVERRIDE Size ==> REAL



OVERRIDE Position ==> REAL



OVERRIDE Close



OVERRIDE Read_bytes ( BYTE Dest|ination_decompress_to [*] ) ==> INT



OVERRIDE Save_bytes ( BYTE Source|_to_compress [*] ) ==> INT


END