aztec-nr - std

Primitive type str

Implementations

impl<let N: u32> str<N>

pub fn as_bytes(self) -> [u8; N]

Converts the given string into a byte array

pub fn as_bytes_vec(self) -> Vec<u8>

return a byte vector of the str content