We avoid the use of Buffer (because it's Node-specific)
and use our own varint implementation which is will
probably be a little faster because it doesn't need to work
with >32bit numbers.
There's still some use of Buffer in the JSON serialization code,
but leaving that for a subsequent PR.
We avoid the use of Buffer (because it's Node-specific) and use our own varint implementation which is will probably be a little faster because it doesn't need to work with >32bit numbers.
There's still some use of Buffer in the JSON serialization code, but leaving that for a subsequent PR.