bytes_31

bytes31. Definitions and utilities for the bytes31 type. The bytes31 type is a compact, indexable 31-byte type. # Examples Creating a bytes31 from a felt252:

let value: bytes31 = 0xaabb.try_into().unwrap();

Accessing a byte by index:

assert!(value[0] == 0xbb);

Fully qualified path: core::bytes_31

Constants

Free functions

Traits

Impls

Extern types

Extern functions