Module validate_raw

Source
Expand description

Check a raw message (part) for validity given a signature

This could be useful for proxies that want to make sure they only forward valid messages. Since this does not try to unmarshal anything it should be more efficient than doing a whole unmarshalling just to check for correctness.

Functions§

validate_marshalled
validate_marshalled_base
validate_marshalled_container

Type Aliases§

ValidationResult
Either Ok(amount_of_bytes) or Err(position, ErrorCode)