Skip to main content

deversify

Function deversify 

Source
pub fn deversify<T: AsRef<[u8]>>(vs: T) -> Result<Smellage, KERIError>
Expand description

Extracts protocol type, version, serialization kind, and size from a version string

§Arguments

  • vs - A version string, either as a string slice or byte slice

§Returns

A Result containing a Smellage struct with extracted information or an error

§Errors

Returns an error if the version string format is invalid