package vendor:compress/brotli

⌘K
Ctrl+K
or
/

    Types

    Constants

    DECODER_RESULT_ERROR ¶

    DECODER_RESULT_ERROR: int : 0
     

    Decoder operations

    DECODER_RESULT_NEEDS_MORE_INPUT ¶

    DECODER_RESULT_NEEDS_MORE_INPUT: int : 2

    DECODER_RESULT_NEEDS_MORE_OUTPUT ¶

    DECODER_RESULT_NEEDS_MORE_OUTPUT: int : 3

    DECODER_RESULT_SUCCESS ¶

    DECODER_RESULT_SUCCESS: int : 1

    MODE_FONT ¶

    MODE_FONT: int : 2

    MODE_GENERIC ¶

    MODE_GENERIC: int : 0
     

    Brotli literal context modes

    MODE_TEXT ¶

    MODE_TEXT: int : 1

    OPERATION_EMIT_METADATA ¶

    OPERATION_EMIT_METADATA: int : 3

    OPERATION_FINISH ¶

    OPERATION_FINISH: int : 2

    OPERATION_FLUSH ¶

    OPERATION_FLUSH: int : 1

    OPERATION_PROCESS ¶

    OPERATION_PROCESS: int : 0
     

    Encoder operations

    QUALITY_DEFAULT ¶

    QUALITY_DEFAULT: int : 11

    QUALITY_FAST_ONE_PASS_COMPRESSION ¶

    QUALITY_FAST_ONE_PASS_COMPRESSION: int : 0

    QUALITY_FAST_TWO_PASS_COMPRESSION ¶

    QUALITY_FAST_TWO_PASS_COMPRESSION: int : 1

    QUALITY_HQ_ZOPFLIFICATION ¶

    QUALITY_HQ_ZOPFLIFICATION: int : 11

    QUALITY_MAX ¶

    QUALITY_MAX: int : 11

    QUALITY_MIN ¶

    QUALITY_MIN: int : 0
     

    Brotli quality levels

    QUALITY_ZOPFLIFICATION ¶

    QUALITY_ZOPFLIFICATION: int : 10

    RESULT_ERROR ¶

    RESULT_ERROR: int : 0
     

    Brotli operation result

    RESULT_NEEDS_MORE_INPUT ¶

    RESULT_NEEDS_MORE_INPUT: int : 2

    RESULT_NEEDS_MORE_OUTPUT ¶

    RESULT_NEEDS_MORE_OUTPUT: int : 3

    RESULT_SUCCESS ¶

    RESULT_SUCCESS: int : 1

    WINDOW_BITS_DEFAULT ¶

    WINDOW_BITS_DEFAULT: int : 22

    WINDOW_BITS_MAX ¶

    WINDOW_BITS_MAX: int : 24

    WINDOW_BITS_MIN ¶

    WINDOW_BITS_MIN: int : 10
     

    Brotli window bits

    Variables

    This section is empty.

    Procedures

    BrotliDecoderCreateInstance ¶

    BrotliDecoderCreateInstance :: proc "c" (alloc_func: rawptr, free_func: rawptr, opaque: rawptr) -> ^DecoderState ---
     

    Create decoder instance

    BrotliDecoderDecompress ¶

    BrotliDecoderDecompress :: proc "c" (encoded_size: uint, encoded_buffer: [^]u8, decoded_size: ^uint, decoded_buffer: [^]u8) -> i32 ---
     

    Decompress data (one-shot)

    BrotliDecoderDecompressStream ¶

    BrotliDecoderDecompressStream :: proc "c" (
    	s:             ^DecoderState, 
    	available_in:  ^uint, 
    	next_in:       ^[^]u8, 
    	available_out: ^uint, 
    	next_out:      ^[^]u8, 
    	total_out:     ^uint, 
    ) -> i32 ---
     

    Decompress stream

    BrotliDecoderDestroyInstance ¶

    BrotliDecoderDestroyInstance :: proc "c" (s: ^DecoderState) ---
     

    Destroy decoder instance

    BrotliDecoderGetErrorCode ¶

    BrotliDecoderGetErrorCode :: proc "c" (s: ^DecoderState) -> i32 ---
     

    Get error code

    BrotliDecoderHasMoreOutput ¶

    BrotliDecoderHasMoreOutput :: proc "c" (s: ^DecoderState) -> i32 ---
     

    Check if decoder has more output

    BrotliDecoderIsFinished ¶

    BrotliDecoderIsFinished :: proc "c" (s: ^DecoderState) -> i32 ---
     

    Check if decoder is finished

    BrotliEncoderCompress ¶

    BrotliEncoderCompress :: proc "c" (
    	quality:        i32, 
    	lgwin:          i32, 
    	mode:           i32, 
    	input_size:     uint, 
    	input_buffer:   [^]u8, 
    	encoded_size:   ^uint, 
    	encoded_buffer: [^]u8, 
    ) -> i32 ---
     

    Compress data (one-shot)

    BrotliEncoderCompressStream ¶

    BrotliEncoderCompressStream :: proc "c" (
    	s:             ^EncoderState, 
    	op:            i32, 
    	available_in:  ^uint, 
    	next_in:       ^[^]u8, 
    	available_out: ^uint, 
    	next_out:      ^[^]u8, 
    	total_out:     ^uint, 
    ) -> i32 ---
     

    Compress stream

    BrotliEncoderCreateInstance ¶

    BrotliEncoderCreateInstance :: proc "c" (alloc_func: rawptr, free_func: rawptr, opaque: rawptr) -> ^EncoderState ---
     

    Create encoder instance

    BrotliEncoderDestroyInstance ¶

    BrotliEncoderDestroyInstance :: proc "c" (s: ^EncoderState) ---
     

    Destroy encoder instance

    BrotliEncoderFinishStream ¶

    BrotliEncoderFinishStream :: proc "c" (s: ^EncoderState, available_out: ^uint, next_out: ^[^]u8, total_out: ^uint) -> i32 ---
     

    Finish stream

    BrotliEncoderHasMoreOutput ¶

    BrotliEncoderHasMoreOutput :: proc "c" (s: ^EncoderState) -> i32 ---
     

    Check if encoder has more output

    BrotliEncoderIsFinished ¶

    BrotliEncoderIsFinished :: proc "c" (s: ^EncoderState) -> i32 ---
     

    Check if encoder is finished

    BrotliEncoderMaxCompressedSize ¶

    BrotliEncoderMaxCompressedSize :: proc "c" (input_size: uint) -> uint ---
     

    Get maximum compressed size

    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.498026513 +0000 UTC