Fix V -> B typo in lookup table for encoding Base64.
PiperOrigin-RevId: 615968363 Change-Id: I1dae697462afcae48442610b1fe4acab93b6d62d
This commit is contained in:
committed by
Copybara-Service
parent
2386353b02
commit
9fef77193f
@@ -639,7 +639,7 @@ static uint32_t _decode(char ch) {
|
|||||||
// returns number of chars written in buf: 4 * [(ndata + 2) / 3] + 1
|
// returns number of chars written in buf: 4 * [(ndata + 2) / 3] + 1
|
||||||
size_t mju_encodeBase64(char* buf, const uint8_t* data, size_t ndata) {
|
size_t mju_encodeBase64(char* buf, const uint8_t* data, size_t ndata) {
|
||||||
static const char *table =
|
static const char *table =
|
||||||
"ABCDEFGHIJKLMNOPQRSTUBWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
|
"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
|
||||||
|
|
||||||
int i = 0, j = 0;
|
int i = 0, j = 0;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user