Skip to main content

Module codec

Module codec 

Source

Functions§

decode_raw
解码 payload 为 RGBA,使用 header 中的 width / height
decode_raw_with_height
解码 payload 为 RGBA,使用指定的输出高度(KCBC tile 路径)
decode_raw_with_options
decode_raw_with_options_and_state
decompress_lzvn
LZVN 解压(raw stream),返回解压后字节