node-base64 icon indicating copy to clipboard operation
node-base64 copied to clipboard

Does not support returning a Buffer object instead of string

Open adammw opened this issue 13 years ago • 0 comments

Hi, I'd expect base64 to return a buffer when fed a buffer rather than a string, but this behaviour should be optional via a flag or parameter. I don't know if this is really needed, I just have binary base64 data that I don't want to get corrupted as a string. If anyone knows how to do that - a patch would be appreciated.

adammw avatar Apr 23 '11 07:04 adammw