pub fn encode(frame: &Frame) -> Result<Vec<u8>, FixError>Expand description
Encodes a message as the bytes of the wire.
ยงErrors
Returns FixError::InvalidField when a value is empty or holds the delimiter, or a body
field carries a tag of the envelope: of the framing (8, 9, 10) or of the standard header
(34, 35, 43, 49, 50, 52, 56, 57, 122), which Header alone sets, and
FixError::TooLong when the body exceeds MAX_BODY_LENGTH.