convert

package
v0.0.0-...-ebd5e3c Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AsString

func AsString(src interface{}) *string

func AsStringValue

func AsStringValue(src interface{}) string

func ByteToHex

func ByteToHex(data []byte) string

ByteToHex byte转16进制字符串

func DecodeByte

func DecodeByte(data []byte, to interface{}) error

DecodeByte 解码二进制

func EncodeByte

func EncodeByte(data interface{}) ([]byte, error)

EncodeByte 编码二进制

func HexToBye

func HexToBye(hex string) []byte

HexToBye 16进制字符串转[]byte

Types

type RawBytes

type RawBytes []byte

Jump to

Keyboard shortcuts

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