utf16

package
v0.0.0-...-ff33c78 Latest Latest
Warning

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

Go to latest
Published: May 24, 2022 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PtrToString

func PtrToString(p unsafe.Pointer) string

PtrToString is like UTF16ToString, but takes *uint16 as a parameter instead of []uint16.

func StringToUTF16Ptr

func StringToUTF16Ptr(s string) *uint16

StringToUTF16Ptr returns the pointer to UTF-8 encoded string. It will silently return an invalid pointer if `s` argument contains a NUL byte at any location.

Types

This section is empty.

Jump to

Keyboard shortcuts

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