Function get_token_position

Source
pub fn get_token_position(
    tokens: &Vec<&Bytes>,
    token: &Bytes,
) -> Result<U8, EncodingError>
Expand description

Gets the position of a token in a list of tokens.