slicereader

package standard library
go1.23.2 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2024 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 added in go1.21.0

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