binary

package module
v0.0.0-...-b506fa7 Latest Latest
Warning

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

Go to latest
Published: May 10, 2016 License: BSD-3-Clause Imports: 0 Imported by: 0

README

binary Build Status

Binary manipulations in Go

See the documentation.

Documentation

Overview

Package binary implements various bit- and byte-level manipulations.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReverseBits16

func ReverseBits16(u uint16) uint16

Reverse the bits in the binary representation of u. For example, 1011 becomes 1101.

func ReverseBits32

func ReverseBits32(u uint32) uint32

Reverse the bits in the binary representation of u. For example, 1011 becomes 1101.

func ReverseBits64

func ReverseBits64(u uint64) uint64

Reverse the bits in the binary representation of u. For example, 1011 becomes 1101.

func ReverseBits8

func ReverseBits8(u uint8) uint8

Reverse the bits in the binary representation of u. For example, 1011 becomes 1101.

Types

This section is empty.

Jump to

Keyboard shortcuts

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