Skip to main content

from_bytes

Function from_bytes 

Source
pub fn from_bytes(input: &[u8]) -> FromBytesIter<'_> 
Expand description

Parse input bytes into an iterator of Segments.

Borrows directly from input — zero allocation for segment data.

§Segment-size limit

Applies a default 64 KiB per-segment limit, matching the reader-based path. Use from_bytes_with_config to override.