Skip to main content

strip_codec_prefix

Function strip_codec_prefix 

Source
pub fn strip_codec_prefix(bytes: &[u8]) -> &[u8] ⓘ
Expand description

Strip multicodec prefix → raw key bytes

If no known prefix is found, returns the input unchanged.