(data: [u8; HASH_SIZE])
| 26 | pub const ZERO: Self = Self::from_byte_array([0; HASH_SIZE]); |
| 27 | |
| 28 | pub const fn from_byte_array(data: [u8; HASH_SIZE]) -> Self { |
| 29 | Self { data } |
| 30 | } |
| 31 | |
| 32 | pub fn from_u256(val: u256) -> Self { |
| 33 | Self::from_byte_array(val.to_le_bytes()) |
nothing calls this directly
no outgoing calls
no test coverage detected