Fully qualified path: alexandria_bytes ::utils
keccak_u128s_be Computes the keccak256 of multiple uint128 values. The values are interpreted as big-endian. https://github.com/starkware-libs/cairo/blob/main/corelib/src/keccak.cairo…
u256_reverse_endian Reverses the endianness of a u256 value….
u8_array_to_u256 Convert sha256 result(Array ) to u256…
u32s_to_u256 Converts an array of 8 u32 values to a u256 value….
u128_array_slice Returns the slice of an array….
u128_split Split a u128 into two parts, 0, left_size-1 and left_size, end…
read_sub_u128 Read sub value from u128 just like substr in other language…
u128_join Join two u128 into one…
BytesDebug Implementation of Debug trait for Bytes. Formats the Bytes as a hexadecimal string prefixed with “0x”.
BytesDisplay Implementation of Display trait for Bytes. Formats the Bytes as a hexadecimal string prefixed with “0x”.