Skip to main content

parse_batch

Function parse_batch 

Source
pub fn parse_batch(bytes: &[u8]) -> Result<Batch, Error>
Expand description

Parse HL7 v2 batch from bytes.

§Arguments

  • bytes - The raw HL7 batch bytes

§Returns

The parsed Batch, or an error if parsing fails