Function bool_to_bytes32
pub const fn bool_to_bytes32(value: bool) -> BytesAvailable on crate feature
evm only.Expand description
Converts a boolean to a left-padded 32-byte Bytes value.
This is optimized to not allocate at runtime by using 2 static arrays.