hexKit

package
v3.0.94 Latest Latest
Warning

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

Go to latest
Published: May 27, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Decode

func Decode(src []byte) ([]byte, error)

Decode []byte => []byte

参考: hex.DecodeString.

func DecodeString

func DecodeString(s string) ([]byte, error)

DecodeString string => []byte

func DecodeStringToString

func DecodeStringToString(s string) (string, error)

DecodeStringToString hex string => string

func Encode

func Encode(src []byte) []byte

Encode []byte => []byte

参考: hex.EncodeToString

func EncodeStringToString

func EncodeStringToString(s string) string

EncodeStringToString (拓展) string => hex string

func EncodeToString

func EncodeToString(src []byte) string

EncodeToString []byte => string

Types

This section is empty.

Jump to

Keyboard shortcuts

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