Hacker News new | ask | show | jobs
by skybrian 3612 days ago
Because the code is running in a browser.

Browsers do support binary data using typed arrays but for some reason this isn't commonly used yet. Compatibility, maybe?

1 comments

This library is very good at serializing and deserializing binary proto3 messages in the browser.

https://github.com/dcodeIO/ProtoBuf.js/