Skip to main content

parse_into

Function parse_into 

Source
pub fn parse_into(
    copybook: &Copybook,
    packet: &JsonValue,
) -> Result<Vec<u8>, Vec<Finding>>
Expand description

KOBOLD.JSON.PARSE.1 – reconstruct the record bytes declared by copybook from packet.

Returns Ok(bytes) exactly copybook.record_length() long, or Err(findings) listing every problem.