Keyboard shortcuts

Press or to navigate between chapters

Press ? to show this help

Press Esc to hide this help

u256_reverse_endian

Reverses the endianness of a u256 value.

Arguments

  • input - The u256 value to reverse endianness

Returns

  • u256 - The u256 value with reversed endianness

Fully qualified path: alexandria_bytes::utils::u256_reverse_endian

pub fn u256_reverse_endian(input: u256) -> u256