unsafemap

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BytesToPoint

func BytesToPoint(data []byte) *byte

func BytesToPtr

func BytesToPtr(data []byte) uintptr

func CopyBytesToPtr

func CopyBytesToPtr(dst uintptr, src []byte)

func PointToBytes

func PointToBytes(ptr *byte, n int) []byte

func PtrToBytes

func PtrToBytes(ptr uintptr, n int) []byte

Types

type Slice

type Slice struct {
	Data unsafe.Pointer
	Len  int
	Cap  int
}

Jump to

Keyboard shortcuts

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