BytesN in a Rust Smart Contract
Smart contract in Rust – Stellar’s BytesN Example code demo using BytesN If you’re used to using symbol_short! macro, note how for more than 9 characters we need to use Symbol::new We’ll use a fixed length 32 bytes array here so we need BytesN in Stellar : You could also use base64 encoded :