1
0
mirror of https://github.com/fumiama/base16384.git synced 2026-06-13 00:00:23 +08:00

fix: encode bufsz (#19)

This commit is contained in:
源文雨
2023-08-26 15:43:18 +08:00
parent c7fdf86d09
commit b61b3dd13e
2 changed files with 4 additions and 4 deletions

View File

@@ -43,7 +43,7 @@ typedef enum base16384_err_t base16384_err_t;
#undef define_base16384_err_t
#define BASE16384_ENCBUFSZ (BUFSIZ*1024/7*7)
#define BASE16384_ENCBUFSZ (BUFSIZ*1024/7*7+7)
#define BASE16384_DECBUFSZ (BUFSIZ*1024/8*8+16)
// base16384_encode_len calc min buf size to fill encode result