[][src]Function spl_token::state::unpack_unchecked

pub fn unpack_unchecked<T: IsInitialized>(
    input: &mut [u8]
) -> Result<&mut T, ProgramError>

Unpacks a token state from a bytes buffer without checking that the state is initialized.