hep

package
v0.0.0-...-c98f1fc Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2018 License: Unlicense Imports: 2 Imported by: 0

README

Results:

goos: windows
goarch: amd64
pkg: github.com/egonelbre/exp/rootio/encoding

// Naming
//   B / L = big endian / little endian
//   A / S = (at, data) / (data[at:])
//   F / R = forward vs reverse
//   U = no bounds checks

binary.BigEndian-8              2000000               654 ns/op
BAR-8                           1000000              1303 ns/op
BAF-8                           1000000              1297 ns/op
LAF-8                           1000000              1298 ns/op
LAR-8                           1000000              1302 ns/op
NAD-8                           2000000               652 ns/op
NADU-8                          5000000               340 ns/op
BSR-8                           2000000               654 ns/op
BSF-8                           1000000              1618 ns/op
binary.LittleEndian-8           2000000               664 ns/op
LSF-8                           1000000              1633 ns/op
LSR-8                           2000000               653 ns/op
NSD-8                           1000000              1337 ns/op
NSDU-8                          1000000              1334 ns/op

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BigU32

func BigU32(data []byte) uint32

func BigU32af

func BigU32af(at int, data []byte) uint32

func BigU32ar

func BigU32ar(at int, data []byte) uint32

func BigU32sf

func BigU32sf(data []byte) uint32

func BigU32sr

func BigU32sr(data []byte) uint32

func LittleU32

func LittleU32(data []byte) uint32

func LittleU32af

func LittleU32af(at int, data []byte) uint32

func LittleU32ar

func LittleU32ar(at int, data []byte) uint32

func LittleU32sf

func LittleU32sf(data []byte) uint32

func LittleU32sr

func LittleU32sr(data []byte) uint32

func NativeU32ad

func NativeU32ad(at int, data []byte) uint32

func NativeU32adu

func NativeU32adu(at int, data []byte) uint32

func NativeU32sd

func NativeU32sd(data []byte) uint32

func NativeU32sdu

func NativeU32sdu(data []byte) uint32

Types

This section is empty.

Jump to

Keyboard shortcuts

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