BinaryTransforms

package module
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2019 License: MPL-2.0 Imports: 4 Imported by: 2

README

CircleCI codecov GoDoc contributions welcome

BinaryTransforms

This library serves as a wrapper around a few binary transformations needed for my other repos. Read go doc for details.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LittleEndianBinaryToInt64

func LittleEndianBinaryToInt64(inBytes []byte) (outInt64 int64, err error)

Converts a little endian byte slice to int64.

func LittleEndianBinaryToUInt16

func LittleEndianBinaryToUInt16(inBytes []byte) (outUInt16 uint16, err error)

Converts a little endian byte slice to uint16.

func LittleEndianBinaryToUInt32

func LittleEndianBinaryToUInt32(inBytes []byte) (outUInt32 uint32, err error)

Converts a little endian byte slice to uint32.

func LittleEndianBinaryToUInt64

func LittleEndianBinaryToUInt64(inBytes []byte) (outUInt64 uint64, err error)

Converts a little endian byte slice to uint64.

func UnicodeBytesToASCII

func UnicodeBytesToASCII(unicodeBytes []byte) (asciiString string, err error)

Converts a byte slice of unicode characters to ASCII

Types

This section is empty.

Jump to

Keyboard shortcuts

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