types

package
v0.21.0 Latest Latest
Warning

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

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

Documentation

Rendered for windows/amd64

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Cwstr

func Cwstr(str string) *uint16

Cwstr converts a Go string to a Windows wide string.

func LpCwstr

func LpCwstr(str string) uintptr

LpCwstr converts a Go string to a Windows wide string pointer.

func Utf16LE added in v0.13.2

func Utf16LE(str string) ([]byte, error)

Utf16LE will convert a Go string to a utf16 array that is little endian byte-ordered. It will then return a Go []byte. The output can then be base64 encoded for use with PowerShell's encoded command functionality.

Types

This section is empty.

Jump to

Keyboard shortcuts

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