Documentation ¶
Index ¶
- func CreateDirIfMissing(dirPath string) (bool, error)
- func DecodeOrderPreservingVarUint64(bytes []byte) (uint64, int)
- func DirEmpty(dirPath string) (bool, error)
- func EncodeOrderPreservingVarUint64(number uint64) []byte
- func FileExists(filePath string) (bool, int64, error)
- func ListSubdirs(dirPath string) ([]string, error)
- type Buffer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateDirIfMissing ¶
func EncodeOrderPreservingVarUint64 ¶
EncodeOrderPreservingVaruint64返回uint64数字的字节表示,以便
Types ¶
type Buffer ¶
type Buffer struct {
// contains filtered or unexported fields
}
func (*Buffer) DecodeVarint ¶
func (*Buffer) GetBytesConsumed ¶
GetBytesConsumed返回基础[]字节中当前位置的偏移量
Click to show internal directories.
Click to hide internal directories.