Encodes a macaroon in libmacaroons' v2 binary serialisation.
the macaroon: { location, identifier, caveats, signature }, as common/crypto.js hands one back (a library macaroon's getters read the same)
{ location, identifier, caveats, signature }
common/crypto.js
the serialised bytes
Encodes a macaroon in libmacaroons' v2 binary serialisation.