Versions in this module Expand all Collapse all v1 v1.4.9 Jul 22, 2021 Changes in this version + func CreateDirIfMissing(dirPath string) (bool, error) + func DecodeOrderPreservingVarUint64(bytes []byte) (uint64, int, error) + 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 struct + func NewBuffer(b []byte) *Buffer + func (b *Buffer) DecodeRawBytes(alloc bool) ([]byte, error) + func (b *Buffer) DecodeVarint() (uint64, error) + func (b *Buffer) GetBytesConsumed() int