unsafe

package
v1.8.22 Latest Latest
Warning

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

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

Documentation

Overview

Package unsafe provides wrapper functions for 'unsafe' type conversions.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ByteSlice2String

func ByteSlice2String(bs []byte) string

ByteSlice2String converts a byte slice to a string.

func String2ByteSlice

func String2ByteSlice(str string) []byte

String2ByteSlice converts a string to a byte slice.

Types

This section is empty.

Jump to

Keyboard shortcuts

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