Primitive builders for encoding Google Protocol Buffers.
encodeVarint32 :: forall m. MonadEffect m => UInt -> PutM m Unit
There is no
varint32 in the Protbuf spec, this is
just a performance-improving assumption we make
in cases where we would be surprised to see a number
larger than 32 bits, such as in field numbers.
We think this is worth the risk because
UInt64 is a composite library type, so we expect the
performance difference to be significant.