nstool/lib/libfnd/include/fnd/base64.h

14 lines
364 B
C
Raw Normal View History

2018-07-10 14:58:19 +00:00
#pragma once
#include <cstdint>
#include <cstring>
namespace fnd
2018-07-10 14:58:19 +00:00
{
namespace base64
{
size_t B64_GetEncodeLen(const uint8_t* src, size_t slen);
void B64_Encode(const uint8_t* src, size_t slen, uint8_t* dst, size_t dlen);
size_t B64_GetDecodeLen(const uint8_t* src, size_t slen);
void B64_Decode(const uint8_t* src, size_t slen, uint8_t* dst, size_t dlen);
}
}