zebra_chain::primitives

Module byte_array

Source
Expand description

Functions for modifying byte arrays.

Functionsยง

  • Increments byte_array by 1, interpreting it as a big-endian integer. If the big-endian integer overflowed, sets all the bytes to zero, and returns true.