nazastring

package
v0.20.2 Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DumpSliceByte added in v0.14.0

func DumpSliceByte(b []byte) string

@deprecated 这个函数不再使用了,后续直接标准库中的hex.EncodeToString,hex.DecodeString

func SliceByteToStringTmp

func SliceByteToStringTmp(b []byte) string

func StringToSliceByteTmp

func StringToSliceByteTmp(s string) []byte

func SubSliceSafety added in v0.16.1

func SubSliceSafety(b []byte, m int) []byte

@param m 对切片做子切片操作,取值范围大于0,如果超过了原切片大小,则返回原切片

Types

This section is empty.

Jump to

Keyboard shortcuts

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