Documentation ¶
Index ¶
Constants ¶
View Source
const HashLength = 32
Variables ¶
View Source
var ZeroHash = Hash{}
Functions ¶
Types ¶
type Hash ¶
type Hash [HashLength]byte
func BytesToHash ¶
BytesToHash sets b to hash. If b is larger than len(h), b will be cropped from the left.
Click to show internal directories.
Click to hide internal directories.