slicereader

package standard library
go1.20.4 Latest Latest
Warning

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

Go to latest
Published: May 2, 2023 License: BSD-3-Clause Imports: 2 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) SeekTo

func (r *Reader) SeekTo(off int64)

Jump to

Keyboard shortcuts

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