GRPC Core  18.0.0
Functions
b64.h File Reference
#include <grpc/support/port_platform.h>
#include <grpc/slice.h>

Go to the source code of this file.

Functions

char * grpc_base64_encode (const void *data, size_t data_size, int url_safe, int multiline)
 
size_t grpc_base64_estimate_encoded_size (size_t data_size, int multiline)
 
void grpc_base64_encode_core (char *result, const void *vdata, size_t data_size, int url_safe, int multiline)
 
grpc_slice grpc_base64_decode (const char *b64, int url_safe)
 
grpc_slice grpc_base64_decode_with_len (const char *b64, size_t b64_len, int url_safe)
 

Function Documentation

◆ grpc_base64_decode()

grpc_slice grpc_base64_decode ( const char *  b64,
int  url_safe 
)

◆ grpc_base64_decode_with_len()

grpc_slice grpc_base64_decode_with_len ( const char *  b64,
size_t  b64_len,
int  url_safe 
)

◆ grpc_base64_encode()

char* grpc_base64_encode ( const void *  data,
size_t  data_size,
int  url_safe,
int  multiline 
)

◆ grpc_base64_encode_core()

void grpc_base64_encode_core ( char *  result,
const void *  vdata,
size_t  data_size,
int  url_safe,
int  multiline 
)

◆ grpc_base64_estimate_encoded_size()

size_t grpc_base64_estimate_encoded_size ( size_t  data_size,
int  multiline 
)