Skip to main content

Module bytes

Module bytes 

Source
Expand description

Byte manipulation circuits for Binius64.

This module provides utility functions for byte-level operations on 64-bit words, including byte swapping (endianness conversion).

Functionsยง

swap_bytes
Reverses the byte order of a 64-bit word.
swap_bytes_32
Swaps bytes within each 32-bit half of a 64-bit word independently.