http://i3xi5qxvbrngh3g6o7czwjfxwjzigook7zxzjmgwg5b7xnjcn5hzciad.onion/intro/conventions.html
For example, 4660 (0x1234),
when encoded as a two-byte integer,
is the byte 0x12 followed by the byte 0x34. ([12 34]) When encoded as a four-byte integer,
it is the byte 0x00, the byte 0x00, the byte 0x12, and the byte 0x34.
([00 00 12 34]). Binary-as-text encodings When we refer to " base64 " , " base32 " , or " base16 " ,
we mean the encodings described in RFC 4648 ,
with the following notes: In base32, we never insert linefeeds in base32,
and we omit trailing = padding...