Documentation
¶
Index ¶
- Constants
- Variables
- func BytesCopy(dst []byte, data []byte)
- func GetDataFrom(src []byte, offset uint64, size uint64) []byte
- func HexToBytes(val []byte, receiver *[]byte, allowOdd bool) error
- func LeftPaddingSlice(src []byte, toSize int) []byte
- func RightPaddingSlice(src []byte, toSize int) []byte
- func ToWordSize(size uint64) uint64
Constants ¶
View Source
const ( HashLength = 32 MaxIntBytes = 32 MaxClosureDepth = 1024 )
Variables ¶
View Source
var ( BlankHash = make([]byte, HashLength, HashLength) ZeroHash = hashes.Keccak256(nil) )
Functions ¶
func LeftPaddingSlice ¶
func RightPaddingSlice ¶
func ToWordSize ¶ added in v0.4.1
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.