package vendor:compress/bzip2
⌘K
Ctrl+K
or
/
Overview
!Not Tested Yet (xfitgd) Bindings for bzip2
Index
Types (1)
Constants (27)
- ACTION_FINISH
- ACTION_FLUSH
- ACTION_RUN
- BLOCK_SIZE_100K_DEFAULT
- BLOCK_SIZE_100K_MAX
- BLOCK_SIZE_100K_MIN
- BZ_CONFIG_ERROR
- BZ_DATA_ERROR
- BZ_DATA_ERROR_MAGIC
- BZ_FINISH_OK
- BZ_FLUSH_OK
- BZ_IO_ERROR
- BZ_MEM_ERROR
- BZ_OK
- BZ_OUTBUFF_FULL
- BZ_PARAM_ERROR
- BZ_RUN_OK
- BZ_SEQUENCE_ERROR
- BZ_STREAM_END
- BZ_UNEXPECTED_EOF
- VERBOSITY_MAX
- VERBOSITY_NORMAL
- VERBOSITY_SILENT
- VERBOSITY_VERBOSE
- VERBOSITY_VERY_VERBOSE
- WORK_FACTOR_DEFAULT
- WORK_FACTOR_MAX
Variables (0)
This section is empty.
Procedure Groups (0)
This section is empty.
Types
Stream ¶
Stream :: struct { next_in: [^]u8, avail_in: u32, total_in_lo32: u32, total_in_hi32: u32, next_out: [^]u8, avail_out: u32, total_out_lo32: u32, total_out_hi32: u32, state: rawptr, bzalloc: rawptr, bzfree: rawptr, opaque: rawptr, }
Bzip2 stream structure
Related Procedures With Parameters
Constants
ACTION_FINISH ¶
ACTION_FINISH: int : 2
ACTION_FLUSH ¶
ACTION_FLUSH: int : 1
BLOCK_SIZE_100K_DEFAULT ¶
BLOCK_SIZE_100K_DEFAULT: int : 9
BLOCK_SIZE_100K_MAX ¶
BLOCK_SIZE_100K_MAX: int : 9
BZ_CONFIG_ERROR ¶
BZ_CONFIG_ERROR: int : -9
BZ_DATA_ERROR ¶
BZ_DATA_ERROR: int : -4
BZ_DATA_ERROR_MAGIC ¶
BZ_DATA_ERROR_MAGIC: int : -5
BZ_FINISH_OK ¶
BZ_FINISH_OK: int : 3
BZ_FLUSH_OK ¶
BZ_FLUSH_OK: int : 2
BZ_IO_ERROR ¶
BZ_IO_ERROR: int : -6
BZ_MEM_ERROR ¶
BZ_MEM_ERROR: int : -3
BZ_OUTBUFF_FULL ¶
BZ_OUTBUFF_FULL: int : -8
BZ_PARAM_ERROR ¶
BZ_PARAM_ERROR: int : -2
BZ_RUN_OK ¶
BZ_RUN_OK: int : 1
BZ_SEQUENCE_ERROR ¶
BZ_SEQUENCE_ERROR: int : -1
BZ_STREAM_END ¶
BZ_STREAM_END: int : 4
BZ_UNEXPECTED_EOF ¶
BZ_UNEXPECTED_EOF: int : -7
VERBOSITY_MAX ¶
VERBOSITY_MAX: int : 4
VERBOSITY_NORMAL ¶
VERBOSITY_NORMAL: int : 1
VERBOSITY_VERBOSE ¶
VERBOSITY_VERBOSE: int : 2
VERBOSITY_VERY_VERBOSE ¶
VERBOSITY_VERY_VERBOSE: int : 3
WORK_FACTOR_MAX ¶
WORK_FACTOR_MAX: int : 250
Variables
This section is empty.
Procedures
bzBuffToBuffCompress ¶
bzBuffToBuffCompress :: proc "c" ( dest: [^]u8, destLen: ^u32, source: [^]u8, sourceLen: u32, blockSize100k: i32, verbosity: i32, workFactor: i32, ) -> i32 ---
Buffer compress
bzBuffToBuffDecompress ¶
bzBuffToBuffDecompress :: proc "c" ( dest: [^]u8, destLen: ^u32, source: [^]u8, sourceLen: u32, small: i32, verbosity: i32, ) -> i32 ---
Buffer decompress
bzCompressInit ¶
bzCompressInit :: proc "c" (strm: ^Stream, blockSize100k: i32, verbosity: i32, workFactor: i32) -> i32 ---
Compress initialization
bzDecompressInit ¶
Decompress initialization
Procedure Groups
This section is empty.
Source Files
Generation Information
Generated with odin version dev-v0.0.1 (vendor "odin") Linux_amd64 @ 2026-01-30 10:23:17.500951352 +0000 UTC