Function format_update
Source pub fn format_update(update: &Update) -> Result<Bytes>
Expand description
Format an Update into Braid protocol message bytes.
Serializes the update including all headers and body/patches
into a byte buffer ready for transmission.
§Arguments
update - The update to format
§Returns
Bytes containing the formatted message.