utils

package
v0.7.1 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2021 License: MIT Imports: 2 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BitField

func BitField(b uint16, i ...int) interface{}

BitField --

func ReverseByte

func ReverseByte(val byte) byte

ReverseByte -

func ReverseUint16

func ReverseUint16(val uint16) uint16

ReverseUint16 ..

func ReverseUint8

func ReverseUint8(val uint8) uint8

ReverseUint8 ..

func SetBit

func SetBit(n int, pos uint, val int) int

SetBit Sets the bit at position 'pos' in the integer 'n' with value 'val'

Types

This section is empty.

Jump to

Keyboard shortcuts

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