Closed
Description
I need to take a long (from protobufjs) and convert it to base64 using node.js' Buffer... can you add the one-liner to an examples section or something?
I'm just a little confused as to how to do it and, unfortunately, I don't have a reference byte sequence with corresponding base64 string for what I'm working on so trial and error is... confusing... :-/
I was expecting something like
Buffer.from([l.high, l.low]).toString('base64');
but that didn't yield valid values.
Metadata
Metadata
Assignees
Labels
No labels