converters

package
v0.4.15 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetIntFromRegistryKey

func GetIntFromRegistryKey(k registry.Key, name string) int

func GetIntStringFormRegistryKey

func GetIntStringFormRegistryKey(k registry.Key, name string) string

func GetStringFormJSON added in v0.1.2

func GetStringFormJSON(jsonData []byte, key ...string) string

func GetStringFromRegistryKey

func GetStringFromRegistryKey(k registry.Key, name string) string

func InetAton added in v0.1.2

func InetAton(ip string, isBig bool) uint32

func InetNtoa added in v0.1.2

func InetNtoa(ipnr uint32, isBig bool) string

func ToJSON added in v0.1.2

func ToJSON(obj interface{}) (string, error)

func ToYaml

func ToYaml(obj interface{}) (string, error)

func UnsafeBytesToString

func UnsafeBytesToString(bs []byte) string

func UnsafeStringToBytes

func UnsafeStringToBytes(str string) []byte

func UnsafeUTF16BytesToString

func UnsafeUTF16BytesToString(bs []byte) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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