root_as_postscript_unchecked

Function root_as_postscript_unchecked 

Source
pub unsafe fn root_as_postscript_unchecked(buf: &[u8]) -> Postscript<'_>
Expand description

Assumes, without verification, that a buffer of bytes contains a Postscript and returns it.

ยงSafety

Callers must trust the given bytes do indeed contain a valid Postscript.