utils

package
v0.0.0-...-94909e0 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2023 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FullPath

func FullPath(name string) (path string, err error)

FullPath is a helper

func StringToCharPtr

func StringToCharPtr(str string) *uint8

StringToCharPtr converts a Go string into pointer to a null-terminated cstring. This assumes the go string is already ANSI encoded.

func StringToUTF16Ptr

func StringToUTF16Ptr(str string) *uint16

StringToUTF16Ptr converts a Go string into a pointer to a null-terminated UTF-16 wide string. This assumes str is of a UTF-8 compatible encoding so that it can be re-encoded as UTF-16.

Types

This section is empty.

Jump to

Keyboard shortcuts

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