gioui.org: gioui.org/internal/unsafe Index | Files

package unsafe

import "gioui.org/internal/unsafe"

Index

Package Files

unsafe.go

func BytesView Uses

func BytesView(s interface{}) []byte

BytesView returns a byte slice view of a slice.

func GoString Uses

func GoString(s []byte) string

GoString convert a NUL-terminated C string to a Go string.

func SliceOf Uses

func SliceOf(s uintptr) []byte

SliceOf returns a slice from a (native) pointer.

Package unsafe imports 2 packages (graph) and is imported by 6 packages. Updated 2020-05-30. Refresh now. Tools for package owners.