Skip to main content

frame

Function frame 

Source
pub fn frame(bytes: &[u8]) -> Result<(Program, &[u8])>
Expand description

Read the first program of bytes, which may hold more after it (a container’s other records, say), and return it with its exact bytes, version token to END. END is found by reading every record, never by searching for it inside operands or comments.