package
1.4.7
Repository: https://github.com/hyperledger-labs/fabric.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

CreateDirIfMissing creates a dir for dirPath if not already exists.
DecodeOrderPreservingVarUint64 decodes the number from the bytes obtained from method 'EncodeOrderPreservingVarUint64'.
DirEmpty returns true if the dir at dirPath is empty.
EncodeOrderPreservingVarUint64 returns a byte-representation for a uint64 number such that all zero-bits starting bytes are trimmed in order to reduce the length of the array For preserving the order in a default bytes-comparison, first byte contains the number of remaining bytes.
FileExists checks whether the given file exists.
ListSubdirs returns the subdirectories.
NewBuffer constructs a new instance of Buffer.

# Structs

Buffer provides a wrapper on top of proto.Buffer.