Skip to main content

read_version

Function read_version 

Source
pub fn read_version(data: &[u8]) -> Result<u8, ProgramError>
Expand description

Read the version byte from an account header.