internal

package
v0.0.0-...-22a14ab Latest Latest
Warning

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

Go to latest
Published: May 23, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MustBytes

func MustBytes(v interface{}, ord binary.ByteOrder) []byte

Types

type ReaderHelper

type ReaderHelper struct {
	binary.ByteOrder
	PtrSize int
	io.ReaderAt
	Pos int64
}

func (ReaderHelper) CStringAt

func (r ReaderHelper) CStringAt(pos int64, maxSize int) (string, error)

func (ReaderHelper) ParsePtr

func (r ReaderHelper) ParsePtr(b []byte) (int64, error)

func (ReaderHelper) PtrAt

func (r ReaderHelper) PtrAt(pos int64) (int64, error)

func (*ReaderHelper) ReadPtr

func (r *ReaderHelper) ReadPtr() (int64, error)

func (ReaderHelper) UintAt

func (r ReaderHelper) UintAt(pos int64, sz int) (uint64, error)

Directories

Path Synopsis
binfmt
elf

Jump to

Keyboard shortcuts

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