Semux network messages format.
A signed message takes the message bytes and signs it, then appends this signature to the message.
1 bit
8 bytes
4 bytes
First write the number of bytes using VLQ, then write each byte.
First write the number of bytes using VLQ, then write each byte of the string.
Variable length quantity. This encoding allows for writing both large and small numbers in an efficient manner.