14 uint8_t* decoded_bytes =
DecodeBase64(
"SGVsbG8sIHdvcmxkIQo=", &decoded_len);
15 const char expected_bytes[] =
"Hello, world!\n";
16 intptr_t expected_len = strlen(expected_bytes);
17 EXPECT(!memcmp(expected_bytes, decoded_bytes, expected_len));
18 EXPECT_EQ(expected_len, decoded_len);
TEST_CASE(DirectoryCurrent)
uint8_t * DecodeBase64(const char *str, intptr_t *out_decoded_len)