Home
last modified time | relevance | path

Searched refs:bindata (Results 1 – 2 of 2) sorted by relevance

/device/google/cuttlefish/guest/hals/ril/reference-ril/
Dbase64util.cpp26 int base64_decode(const char *base64input, unsigned char *bindata) { in base64_decode() argument
27 if (!base64input || !bindata) { in base64_decode()
37 memcpy(bindata, reinterpret_cast<unsigned char *>(output.data()), in base64_decode()
42 char *base64_encode(const unsigned char *bindata, char *base64output, in base64_encode() argument
44 if (!base64output || !bindata || binlength <= 0) { in base64_encode()
50 bindata, static_cast<size_t>(binlength), &output); in base64_encode()
Dbase64util.h24 int base64_decode(const char *base64, unsigned char *bindata);
26 char *base64_encode(const unsigned char *bindata, char *base64, int binlength);