binutil

package
v0.10.2 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2021 License: MIT Imports: 7 Imported by: 159

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	WALK_SKIP = errors.New("")
)

Functions

func Plain

func Plain(kind reflect.Kind) bool

func Walk

func Walk(value interface{}, walker Walker) error

Types

type SizedFile

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

func SizedOpen

func SizedOpen(filename string) (*SizedFile, error)

func (*SizedFile) Close

func (r *SizedFile) Close() error

func (*SizedFile) Read

func (r *SizedFile) Read(p []byte) (n int, err error)

func (*SizedFile) Size

func (r *SizedFile) Size() int64

type SizedReader

type SizedReader interface {
	io.Reader
	Size() int64
}

type Walker

type Walker func(v reflect.Value, path string) error

type Writer

type Writer struct {
	W      io.Writer
	Offset uint32 //FIXME: int64?
	Err    error
}

func (*Writer) WriteFromSized

func (w *Writer) WriteFromSized(r SizedReader)

func (*Writer) WriteLE

func (w *Writer) WriteLE(v interface{})

Jump to

Keyboard shortcuts

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