Documentation
¶
Index ¶
- func Base64Decode(s string) []byte
- func Base64Encode(b []byte) string
- func DeflateCompress(input []byte) ([]byte, error)
- func DeflateDeCompress(input []byte) ([]byte, error)
- func GzipCompress(data []byte) ([]byte, error)
- func GzipDecompress(data []byte) ([]byte, error)
- func HexDecode(s string) []byte
- func HexEncode(b []byte) string
- func IsEOF(err error) bool
- func Md5Hash(raw []byte) string
- func Mmh3Hash32(raw []byte) string
- func MustDeflateCompress(input []byte) []byte
- func MustDeflateDeCompress(input []byte) []byte
- func MustGzipCompress(input []byte) []byte
- func MustGzipDecompress(input []byte) []byte
- func Simhash(raw []byte) string
- func SimhashCompare(s, other string) uint8
- func XorEncode(bs []byte, keys []byte, cursor int) []byte
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Base64Decode ¶
func Base64Encode ¶
func DeflateCompress ¶
func DeflateDeCompress ¶
func GzipCompress ¶
func GzipDecompress ¶
GzipDecompress 解压缩输入的[]byte数据并返回解压缩后的[]byte数据
func Mmh3Hash32 ¶
func MustDeflateCompress ¶
func MustDeflateDeCompress ¶
func MustGzipCompress ¶
func MustGzipDecompress ¶
func SimhashCompare ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.