mirror of
https://github.com/fumiama/base16384.git
synced 2026-06-18 12:30:23 +08:00
new no-malloc api
This commit is contained in:
12
base14.h
Normal file
12
base14.h
Normal file
@@ -0,0 +1,12 @@
|
||||
// base14.h
|
||||
// fumiama 20220319
|
||||
|
||||
// encode_len calc min buf size to fill encode result
|
||||
int encode_len(int dlen);
|
||||
// decode_len calc min buf size to fill decode result
|
||||
int decode_len(int dlen, int offset);
|
||||
|
||||
// encode data and write result into buf
|
||||
int encode(const char* data, int dlen, char* buf, int blen);
|
||||
// decode data and write result into buf
|
||||
int decode(const char* data, int dlen, char* buf, int blen);
|
||||
Reference in New Issue
Block a user