Documentation ¶
Index ¶
- func ByteToForest(byteArray []byte, object interface{}) error
- func Hash(buffer []byte) (string, error)
- func IsCompressed(buffer *bytes.Buffer) (bool, error)
- func Load(path string, forest interface{}) error
- func Mkdir(path string, perm os.FileMode) error
- func Save(object interface{}, path string, compress bool) (string, error)
- func ToBytes(object interface{}, compress bool) ([]byte, error)
- func UnCompress(reader io.Reader) (*bytes.Buffer, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ByteToForest ¶
ByteToForest Converts byte array representation of object
func IsCompressed ¶
IsCompressed checks if buffer is compressed by zlib
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.