Encodes routing prefix, protobuf header, and payload into one wire frame.
Routing identities, operation, and category.
Validated protocol header fields.
Optional body bytes.
Newly allocated frame bytes.
If the UID or header is invalid or the frame exceeds the protocol size limit.
Encodes routing prefix, protobuf header, and payload into one wire frame.