ref

package module
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2021 License: BSL-1.0 Imports: 2 Imported by: 2

README

ref

GoDoc

About

This package provides various unsafe functions for Go. ref is published on https://github.com/vbsw/misc/ref.

Documentation

Overview

Package ref provides unsafe functions regarding data referencing.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Bytes

func Bytes(str string) []byte

Bytes returns string as byte slice, but without copying the bytes.

func String

func String(bytes []byte) string

String returns byte slice as string, but without copying the bytes.

Types

This section is empty.

Jump to

Keyboard shortcuts

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