# Functions
AddZeroBytesSuffix appends zero bytes such that result byte length == required.
ClearBit clears the bit at pos in n.
ContainsBytesInSlice returns bool if byte slice is contained in input.
CutFromSlice returns a new slice without the value at idx.
IntBytesFromString return the integer base 10 string in bytes.
IsBitSet checks if the bit at position is set.
RemoveBytesFromSlice removes bytes b from the slice of bytes Note: all duplicates of b in slice will be removed.
RemoveZeroBytesSuffix removes zero bytes appended to the end.
SetBit sets the bit at pos in the given byte.
SortByte32Slice sorts the byte32 slices in ascending order.
TimestampToBytes returns encodes timestamp into a 32 byte value.
ToHexByteSlice converts slicee of slice of bytes to slice of HexBytes.
# Structs
OptionalHex can have empty hex string and doesn't error.
# Type aliases
BytesArray is a alias for 32 byte alice.
HexBytes is of type bytes with JSON hex string marshaller.