Skip to main content

encode_creator_id

Function encode_creator_id 

Source
pub fn encode_creator_id<const N: usize>(text: &str) -> Option<[u8; N]>
Expand description

Copies text into [u8; N] and pads it with NUL bytes. None if text is longer than N bytes.