43 void encode(_Inout_ std::basic_string<_Elem, _Traits, _Ax> &out, _In_bytecount_(size)
const void *data, _In_
size_t size, _In_opt_
bool is_last =
true)
45 assert(data || !size);
@@ -131,22 +140,28 @@ $(function() {
+
98 void encode(_Inout_ std::basic_string<_Elem, _Traits, _Ax> &out)
100 out += base64_enc_lookup[
buf[0] >> 2 ];
@@ -154,9 +169,11 @@ $(function() {
102 out += base64_enc_lookup[((
buf[1] << 2) | (
buf[2] >> 6)) & 0x3f];
103 out += base64_enc_lookup[
buf[2] & 0x3f];
+
111 void encode(_Inout_ std::basic_string<_Elem, _Traits, _Ax> &out, _In_
size_t size)
@@ -182,12 +199,14 @@ $(function() {
+