parse_batched_header

Function parse_batched_header 

Source
pub fn parse_batched_header(header: &str) -> Result<RecordHeader, ReductError>
Expand description

Parse a batched header into a content length, content type, and labels.

§Arguments

  • header - The batched header to parse.

§Returns

  • content_length - The content length of the batched header.
  • content_type - The content type of the batched header.
  • labels - The labels of the batched header.