Functions
b64.h File Reference
#include <grpc/support/port_platform.h>
#include <stddef.h>
#include <grpc/slice.h>
Include dependency graph for b64.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

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)
 
char * grpc_base64_encode (const void *data, size_t data_size, int url_safe, int multiline)
 
void grpc_base64_encode_core (char *result, const void *vdata, size_t data_size, int url_safe, int multiline)
 
size_t grpc_base64_estimate_encoded_size (size_t data_size, int multiline)
 

Function Documentation

◆ grpc_base64_decode()

grpc_slice grpc_base64_decode ( const char *  b64,
int  url_safe 
)

Definition at line 126 of file b64.cc.

◆ grpc_base64_decode_with_len()

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

Definition at line 191 of file b64.cc.

◆ grpc_base64_encode()

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

Definition at line 59 of file b64.cc.

◆ grpc_base64_encode_core()

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

Definition at line 77 of file b64.cc.

◆ grpc_base64_estimate_encoded_size()

size_t grpc_base64_estimate_encoded_size ( size_t  data_size,
int  multiline 
)

Definition at line 68 of file b64.cc.



grpc
Author(s):
autogenerated on Fri May 16 2025 03:01:03