Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ComparableHash ¶
type ComparableHash interface {
comparable
Hash() uintptr
}
ComparableHash is a type constraint that matches all comparable types with a Hash method.
type ImpossibleConstraint ¶
type ImpossibleConstraint interface {
comparable
[]int
}
ImpossibleConstraint is a type constraint that no type can satisfy, because slice types are not comparable.
type Ordered ¶
Ordered 是匹配任何有序类型的类型约束. An ordered type is one that supports the <, <=, >, and >= operators.
type PyUVarInt ¶
type PyUVarInt struct {
Value uint64 // 解码后的值
// contains filtered or unexported fields
}
type PyVarInt ¶
type PyVarInt struct {
Value int64 // 解码后的值
// contains filtered or unexported fields
}
PyVarInt Python-construct VarInt类型的Golang实现
type VarIntArray ¶
type VarIntArray struct {
// contains filtered or unexported fields
}
VarIntArray 可变长数组
type VarIntIface ¶
Click to show internal directories.
Click to hide internal directories.