Skip to main content

same_open

Function same_open 

Source
pub fn same_open(slot: &BundleFile, own: &BundleFile) -> Result<(), Failure>
Expand description

Step 4’s comparison: X’s slot, read by the memory reader’s rules, against its own handle, read by the stream reader’s. A difference (a header string with no NUL in its first 32,767 bytes, which the two readers return differently) fails X, container_error, detail malformed.