Have a separate type for the blob size.

Follow-up to 429d5c82.

Also document that the wire format for the size is little-endian.
(Could be either, network order (big-endian) would work too.)