lebig

package module
v0.0.0-...-8917a12 Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2019 License: MIT Imports: 2 Imported by: 0

README

lebig

Little Endian Big Ints

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RemoveMostSignificantZeroesFromBytes

func RemoveMostSignificantZeroesFromBytes(in []byte) (out []byte)

func RemoveMostSignificantZeroesFromWords

func RemoveMostSignificantZeroesFromWords(in []uint64) (out []uint64)

func ReverseSliceOfBytes

func ReverseSliceOfBytes(in []byte)

Types

type Int

type Int struct {
	// contains filtered or unexported fields
}

func (*Int) AndBytes

func (this *Int) AndBytes(in []byte)

func (*Int) AndUint64

func (this *Int) AndUint64(in uint64)

func (*Int) Bytes

func (this *Int) Bytes() []byte

func (*Int) OrBytes

func (this *Int) OrBytes(in []byte)

func (*Int) OrUint64

func (this *Int) OrUint64(in uint64)

func (*Int) SetBytes

func (this *Int) SetBytes(in []byte)

func (*Int) SetUint64

func (this *Int) SetUint64(in uint64)

func (*Int) ShiftLeft

func (this *Int) ShiftLeft(sl uint)

func (*Int) ShiftRight

func (this *Int) ShiftRight(sl uint)

func (*Int) SmallShiftLeft

func (this *Int) SmallShiftLeft(sl uint)

func (*Int) SmallShiftRight

func (this *Int) SmallShiftRight(sr uint)

func (*Int) Uint64

func (this *Int) Uint64() uint64

Jump to

Keyboard shortcuts

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