Modules#
LZ4 Programming Tag#
Tag to handle LZ4 compressed programming data.
Functions#
int32_t
gbl_lz4EnterProgTag(ParserContext_t *ctx)
Enter an LZ4 compressed programming tag.
int32_t
gbl_lz4ParseProgTag(ParserContext_t *ctx, void *data, size_t length, const BootloaderParserCallbacks_t *callbacks)
Parse a chunk of data from an LZ4 compressed programming tag.
int32_t
gbl_lz4ExitProgTag(ParserContext_t *ctx, const BootloaderParserCallbacks_t *callbacks)
Exit an LZ4 compressed programming tag.
size_t
gbl_lz4NumBytesRequired(ParserContext_t *ctx)
Number of bytes needed for the next stage of parsing.
Function Documentation#
gbl_lz4EnterProgTag#
int32_t gbl_lz4EnterProgTag (ParserContext_t * ctx)
Enter an LZ4 compressed programming tag.
Parameters
N/A | ctx | Parser context |
Returns
Error code
Definition at line
152
of file platform/bootloader/parser/compression/btl_decompress_lz4.h
gbl_lz4ParseProgTag#
int32_t gbl_lz4ParseProgTag (ParserContext_t * ctx, void * data, size_t length, const BootloaderParserCallbacks_t * callbacks)
Parse a chunk of data from an LZ4 compressed programming tag.
Parameters
N/A | ctx | Parser context |
N/A | data | Input data to parse |
N/A | length | Length of data |
N/A | callbacks | Callbacks to call with parsed data |
Returns
Error code
Definition at line
163
of file platform/bootloader/parser/compression/btl_decompress_lz4.h
gbl_lz4ExitProgTag#
int32_t gbl_lz4ExitProgTag (ParserContext_t * ctx, const BootloaderParserCallbacks_t * callbacks)
Exit an LZ4 compressed programming tag.
Parameters
N/A | ctx | Parser context |
N/A | callbacks | Callbacks to call with parsed data |
Returns
Error code
Definition at line
175
of file platform/bootloader/parser/compression/btl_decompress_lz4.h
gbl_lz4NumBytesRequired#
size_t gbl_lz4NumBytesRequired (ParserContext_t * ctx)
Number of bytes needed for the next stage of parsing.
Parameters
N/A | ctx | Parser context |
Returns
Number of bytes required
Definition at line
184
of file platform/bootloader/parser/compression/btl_decompress_lz4.h