mirror of
https://github.com/fumiama/base16384.git
synced 2026-06-23 00:38:32 +08:00
fix(coder): incorrect hidden bits decoding in 32bit lib
This commit is contained in:
@@ -54,12 +54,10 @@ typedef enum base16384_err_t base16384_err_t;
|
||||
|
||||
// disable 0xFEFF file header in encode
|
||||
#define BASE16384_FLAG_NOHEADER (1<<0)
|
||||
// enable sum check when using stdin or inputsize > _BASE16384_ENCBUFSZ
|
||||
// enable sum check when using stdin or stdout or inputsize > _BASE16384_ENCBUFSZ
|
||||
#define BASE16384_FLAG_SUM_CHECK_ON_REMAIN (1<<1)
|
||||
// forcely do sumcheck without checking decoded data length
|
||||
// forcely do sumcheck without checking data length
|
||||
#define BASE16384_FLAG_DO_SUM_CHECK_FORCELY (1<<2)
|
||||
// initial sum value used in BASE16384_FLAG_SUM_CHECK_ON_REMAIN
|
||||
#define BASE16384_SIMPLE_SUM_INIT_VALUE (0x8e29c213)
|
||||
|
||||
/**
|
||||
* @brief calculate the exact encoded size
|
||||
|
||||
Reference in New Issue
Block a user