Base64 icon indicating copy to clipboard operation
Base64 copied to clipboard

Can't encode/decode binary data with 0 bytes

Open laurencelundblade opened this issue 4 years ago • 0 comments

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.

laurencelundblade avatar Jan 18 '21 19:01 laurencelundblade