encode

package
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 4, 2025 License: GPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Base64Decode

func Base64Decode(s string) []byte

func Base64Encode

func Base64Encode(b []byte) string

func DeflateCompress

func DeflateCompress(input []byte) ([]byte, error)

func DeflateDeCompress

func DeflateDeCompress(input []byte) ([]byte, error)

func GzipCompress

func GzipCompress(data []byte) ([]byte, error)

func GzipDecompress

func GzipDecompress(data []byte) ([]byte, error)

GzipDecompress 解压缩输入的[]byte数据并返回解压缩后的[]byte数据

func HexDecode

func HexDecode(s string) []byte

func HexEncode

func HexEncode(b []byte) string

func IsEOF

func IsEOF(err error) bool

func Md5Hash

func Md5Hash(raw []byte) string

func Mmh3Hash32

func Mmh3Hash32(raw []byte) string

func MustDeflateCompress

func MustDeflateCompress(input []byte) []byte

func MustDeflateDeCompress

func MustDeflateDeCompress(input []byte) []byte

func MustGzipCompress

func MustGzipCompress(input []byte) []byte

func MustGzipDecompress

func MustGzipDecompress(input []byte) []byte

func Simhash

func Simhash(raw []byte) string

func SimhashCompare

func SimhashCompare(s, other string) uint8

func XorEncode

func XorEncode(bs []byte, keys []byte, cursor int) []byte

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL