Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BytesHashCode ¶
type BytesHashCode struct {
// contains filtered or unexported fields
}
func NewBytesHashCode ¶
func NewBytesHashCode(bytes []byte) *BytesHashCode
func (*BytesHashCode) AsBytes ¶
func (b *BytesHashCode) AsBytes() []byte
func (*BytesHashCode) AsHex ¶
func (b *BytesHashCode) AsHex() string
func (*BytesHashCode) AsUint32 ¶
func (b *BytesHashCode) AsUint32() uint32
func (*BytesHashCode) Bits ¶
func (b *BytesHashCode) Bits() int
type HashCode ¶
type HashCode interface { // Bits HashCode编码长度 Bits() int AsUint32() uint32 AsBytes() []byte AsHex() string }
func NewUint32HashCode ¶
type Uint32HashCode ¶
type Uint32HashCode struct {
// contains filtered or unexported fields
}
func (*Uint32HashCode) AsBytes ¶
func (u *Uint32HashCode) AsBytes() []byte
func (*Uint32HashCode) AsHex ¶
func (u *Uint32HashCode) AsHex() string
func (*Uint32HashCode) AsUint32 ¶
func (u *Uint32HashCode) AsUint32() uint32
func (*Uint32HashCode) Bits ¶
func (u *Uint32HashCode) Bits() int
Click to show internal directories.
Click to hide internal directories.