slicereader

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2023 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Reader

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

func NewReader

func NewReader(b []byte, readonly bool) *Reader

func (*Reader) Offset

func (r *Reader) Offset() int64

func (*Reader) Read

func (r *Reader) Read(b []byte) (int, error)

func (*Reader) ReadString

func (r *Reader) ReadString(len int64) string

func (*Reader) ReadULEB128

func (r *Reader) ReadULEB128() (value uint64)

func (*Reader) ReadUint32

func (r *Reader) ReadUint32() uint32

func (*Reader) ReadUint64

func (r *Reader) ReadUint64() uint64

func (*Reader) ReadUint8

func (r *Reader) ReadUint8() uint8

func (*Reader) Seek

func (r *Reader) Seek(offset int64, whence int) (ret int64, err error)

Jump to

Keyboard shortcuts

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