Skip to main content

parse_file_batch

Function parse_file_batch 

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

Parse HL7 v2 file batch from bytes.

§Arguments

  • bytes - The raw HL7 file batch bytes

§Returns

The parsed FileBatch, or an error if parsing fails