unsafe

package
v1.7.13 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2026 License: MIT, Apache-2.0 Imports: 1 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Binary added in v1.7.12

func Binary(p unsafe.Pointer, n int) (r []byte)

func Cast

func Cast[T1, T2 any](p *T2) *T1

func CastSlice

func CastSlice[T1, T2 any](s []T2) []T1

func Clear added in v1.7.12

func Clear[T any](ptr *T)

func NoEscape

func NoEscape(p unsafe.Pointer) unsafe.Pointer

Types

This section is empty.

Jump to

Keyboard shortcuts

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