le

package
v1.18.2 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2025 License: Apache-2.0, BSD-3-Clause, MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Load16

func Load16[I Indexer](b []byte, i I) uint16

Load16 will load from b at index i.

func Load32

func Load32[I Indexer](b []byte, i I) uint32

Load32 will load from b at index i.

func Load64

func Load64[I Indexer](b []byte, i I) uint64

Load64 will load from b at index i.

func Load8

func Load8[I Indexer](b []byte, i I) byte

Load8 will load from b at index i.

func Store16

func Store16(b []byte, v uint16)

Store16 will store v at b.

func Store32

func Store32(b []byte, v uint32)

Store32 will store v at b.

func Store64

func Store64[I Indexer](b []byte, i I, v uint64)

Store64 will store v at b[i:].

Types

type Indexer

type Indexer interface {
	int | int8 | int16 | int32 | int64 | uint | uint8 | uint16 | uint32 | uint64
}

Jump to

Keyboard shortcuts

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