Documentation ¶
Overview ¶
* @Author: Wangjun * @Date: 2021-05-15 22:43:19 * @LastEditTime: 2024-09-26 17:05:35 * @LastEditors: wangjun haodreams@163.com * @Description: * @FilePath: \golib\lz4file\lz4file.go * hnxr
Index ¶
- func Decode(b []byte) (data []byte, err error)
- func DecodeFromBase64(s string) (data []byte, err error)
- func Encode(b []byte) (data []byte, err error)
- func EncodeToBase64(b []byte, level int) (data string, err error)
- func LoadLz4File(file string) (data []byte, err error)
- func SaveLz4File(file string, data []byte) (err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecodeFromBase64 ¶
DecodeFromBase64 先解码再加压缩
func EncodeToBase64 ¶
EncodeToBase64 压缩后编码到base64
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.