Documentation ¶
Overview ¶
Package byteutils provides helper utilities for working with bytes
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BytesTo32Byte ¶
BytesTo32Byte converts bytes slice to a 32-byte array. It left pads the array with zeros in case of a slice shorter than 32-byte.
func LeftPadTo32Bytes ¶
LeftPadTo32Bytes appends zeros to bytes slice to make it exactly 32 bytes long. TODO: This is copied from keep-core. Consider extracting utils to a separate repo.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.