winutil

package
v1.2.2 Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package winutil provides provides utility functions to run commands with elevated Administrator privileges.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FromUTF16le

func FromUTF16le(r io.Reader) io.Reader

FromUTF16le returns an io.Reader for UTF16le data. Windows uses little endian by default, use unicode.UseBOM policy to retrieve BOM from the text, and unicode.LittleEndian as a fallback.

func FromUTF16leToString

func FromUTF16leToString(r io.Reader) (string, error)

FromUTF16leToString reads from Unicode 16 LE encoded data from an io.Reader and returns a string.

Types

This section is empty.

Jump to

Keyboard shortcuts

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