Skip to main content

from_reader

Function from_reader 

Source
pub fn from_reader<R: Read>(
    reader: R,
) -> Result<Vec<OwnedSegment>, EdifactError>
Expand description

Parse EDIFACT from an arbitrary reader.

This path is optimized for bounded-memory ingest and returns owned segments, allowing the parser to advance across chunk boundaries without requiring a fully-buffered input slice.