loader

package
v0.31.1 Latest Latest
Warning

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

Go to latest
Published: Jul 1, 2020 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Varuint32 added in v0.12.0

func Varuint32(r reader.R) (x uint32, n int, err error)

Types

type L

type L struct {
	R reader.R
}

L provides panicking alternatives for reader.R methods, and then some.

func (L) Byte

func (load L) Byte() byte

func (L) Bytes

func (load L) Bytes(n uint32) (data []byte)

func (L) Count

func (load L) Count(maxCount uint32, name string) []struct{}

Count reads a varuint32 for iteration.

func (L) Into

func (load L) Into(buf []byte)

func (L) Uint32

func (load L) Uint32() (x uint32)

func (L) Uint64

func (load L) Uint64() (x uint64)

func (L) Varint32

func (load L) Varint32() int32

func (L) Varint64

func (load L) Varint64() (x int64)

func (L) Varint7

func (load L) Varint7() int8

func (L) Varuint1

func (load L) Varuint1() bool

func (L) Varuint32

func (load L) Varuint32() (x uint32)

func (L) Varuint64

func (load L) Varuint64() (x uint64)

Jump to

Keyboard shortcuts

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