helper

package
v0.0.0-...-c622313 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func B2S

func B2S(b []byte) string

B2S []byte -> string

func S2B

func S2B(s string) []byte

S2B string -> []byte 转换出来的[]byte不能有修改操作

Types

type SliceHeader

type SliceHeader struct {
	Data uintptr
	Len  int
	Cap  int
}

SliceHeader Slice Header

type StringHeader

type StringHeader struct {
	Data uintptr
	Len  int
}

StringHeader String Header

Jump to

Keyboard shortcuts

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