mirror of
https://github.com/fumiama/base16384.git
synced 2026-06-11 14:50:24 +08:00
fix(file): base16384_decode_fd_detailed
This commit is contained in:
@@ -42,8 +42,12 @@ enum base16384_err_t {
|
||||
*/
|
||||
typedef enum base16384_err_t base16384_err_t;
|
||||
|
||||
#define _BASE16384_ENCBUFSZ (BUFSIZ*1024/7*7)
|
||||
#define _BASE16384_DECBUFSZ (BUFSIZ*1024/8*8)
|
||||
#ifndef BASE16384_BUFSZ_FACTOR
|
||||
#define BASE16384_BUFSZ_FACTOR (1024)
|
||||
#endif
|
||||
|
||||
#define _BASE16384_ENCBUFSZ ((BUFSIZ*BASE16384_BUFSZ_FACTOR)/7*7)
|
||||
#define _BASE16384_DECBUFSZ ((BUFSIZ*BASE16384_BUFSZ_FACTOR)/8*8)
|
||||
|
||||
#define BASE16384_ENCBUFSZ (_BASE16384_ENCBUFSZ+16)
|
||||
#define BASE16384_DECBUFSZ (_BASE16384_DECBUFSZ+16)
|
||||
|
||||
Reference in New Issue
Block a user