tagion_basic_encode_base64url

Encode a buffer into a base64url string

extern (C) nothrow
int
tagion_basic_encode_base64url
(
const(uint8_t*) buf_ptr
,
const size_t buf_len
,
char** str_ptr
,
size_t* str_len
)

Parameters

buf_ptr const(uint8_t*)

a ptr to the buffer to encode

buf_len size_t

the length of the buffer

str_ptr char**

the resulting base64url string

str_len size_t*

the length of the result string

Return Value

Type: int