unsafe

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: May 8, 2019 License: MIT Imports: 2 Imported by: 17

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BytesToString

func BytesToString(b []byte) string

BytesToString converts a byte slice to a string. It's fast, but not safe. Use it only if you know what you're doing.

func StringToBytes

func StringToBytes(s string) []byte

StringToBytes converts a string to a byte slice. It's fast, but not safe. Use it only if you know what you're doing.

Types

This section is empty.

Jump to

Keyboard shortcuts

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