Documentation ¶
Index ¶
- func Bool(x bool) uint64
- func BytesLike[H ~string | ~[]byte](x H) uint64
- func Complex64(c complex128) uint64
- func Float64(x float64) uint64
- func Hash[H Hashable](h H) uint64
- func HashSlice[H Hashable, HS ~[]H](hs HS) uint64
- func Int64(x int64) uint64
- func Uint64(x uint64) uint64
- type Hashable
- type Hasher
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Complex64 ¶
func Complex64(c complex128) uint64
Types ¶
type Hasher ¶
type Hasher interface { Finish() uint64 Write(data []byte) WriteInt(i int) WriteInt8(i int8) WriteInt16(i int16) WriteInt32(i int32) WriteInt64(i int64) WriteUint(i uint) WriteUint8(i uint8) WriteUint16(i uint16) WriteUint32(i uint32) WriteUint64(i uint64) WriteFloat32(f float32) WriteFloat64(f float64) WriteBool(v bool) }
Click to show internal directories.
Click to hide internal directories.