Skip to main content

code

Function code 

Source
pub fn code(bytes: &[u8]) -> Result<&str, RecordError>
Expand description

The native code a concept record starts with, borrowed from bytes.

ยงErrors

Returns RecordError when the code is truncated or not UTF-8.