Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PositionInertia ¶
type PositionInertia struct {
// contains filtered or unexported fields
}
PositionInertia is a 8-bits hash which is bytes partitions inertia
func NewPositionInertia ¶
func NewPositionInertia() *PositionInertia
NewPositionInertia creates a new position inertia algorithm hash builder
func (*PositionInertia) Sum32 ¶
func (p *PositionInertia) Sum32() uint32
Sum32 returns the 32-bits hash
func (*PositionInertia) Write ¶
func (p *PositionInertia) Write(bss ...[]byte)
Write writes the bytes into the PositionInertia
Click to show internal directories.
Click to hide internal directories.