Skip to main content

encode_token

Function encode_token 

Source
pub fn encode_token(token: &str) -> Code
Expand description

Encode a single token into an AMT Code.

Whitespace and punctuation in the input are treated as invisible — callers wanting multi-token handling should use encode.