uptr

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const Null = uintptr(0)

Variables

This section is empty.

Functions

func Bool

func Bool(u uintptr) bool

Bool converts a uintptr to bool.

func BytePtrToString

func BytePtrToString(b *byte) string

BytePtrToString converts a *byte to string.

func Float

func Float(u uintptr) float32

Float converts a uintptr to float32.

func FromBool

func FromBool(b bool) uintptr

FromBool converts a bool to uintptr.

func FromFloat

func FromFloat(f float32) uintptr

FromFloat converts a float32 to uintptr.

func FromString

func FromString(s string) uintptr

FromString converts a string to uintptr.

func IsNull added in v0.0.2

func IsNull(u uintptr) bool

IsNull returns true or false as to whether or not Type has been initialized.

func NewBytePtr

func NewBytePtr(size int) *byte

NewBytePtr creates amd converts a a *byte to bool.

func ReferenceFromString

func ReferenceFromString(s string) uintptr

FromString converts a string to uintptr.

func String

func String(u uintptr) string

String converts a uintptr to string.

func Version added in v0.0.2

func Version(u uint32) string

Version converts an unsigned 32-bit integer into a version string. This implementation is incorrect... yet to figure it out! 27.5.32 11011000000100000000000000100 30.0.0 11110000000000000000000000000

Types

This section is empty.

Jump to

Keyboard shortcuts

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