binarytransforms

package module
v1.3.5 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2020 License: MIT 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)

LittleEndianBinaryToInt64 converts a little endian byte slice to int64.

func LittleEndianBinaryToUInt16

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

LittleEndianBinaryToUInt16 converts a little endian byte slice to uint16.

func LittleEndianBinaryToUInt32

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

LittleEndianBinaryToUInt32 converts a little endian byte slice to uint32.

func LittleEndianBinaryToUInt64

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

LittleEndianBinaryToUInt64 converts a little endian byte slice to uint64.

func UnicodeBytesToASCII

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

UnicodeBytesToASCII 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