Skip to content

Commit

Permalink
Update base64.h (#642)
Browse files Browse the repository at this point in the history
  • Loading branch information
youye521 authored Nov 19, 2024
1 parent 92d5465 commit 15df63d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion util/base64.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#include "hexport.h"

#define BASE64_ENCODE_OUT_SIZE(s) (((s) + 2) / 3 * 4)
#define BASE64_DECODE_OUT_SIZE(s) (((s)) / 4 * 3)
#define BASE64_DECODE_OUT_SIZE(s) (((s) + 3) / 4 * 3)

BEGIN_EXTERN_C

Expand Down

0 comments on commit 15df63d

Please sign in to comment.