Base64
Base64 copied to clipboard
Can't encode/decode binary data with 0 bytes
The input to the encoder should be a pointer and a length, not a NULL-terminated string. Input binary data could NUL characters in it.
The same problem occurs with decoding.