reader

package
v0.6.1 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Int

func Int(r io.Reader) (int32, error)

func Long

func Long(r io.Reader) (int64, error)

func Short

func Short(r io.Reader) (int16, error)

Types

type VarReader

type VarReader interface {
	VarShort() (int16, error)
	VarInt() (int32, error)
	VarLong() (int64, error)
}

func NewCompressed

func NewCompressed(r io.ByteReader) VarReader

func NewUncompressed

func NewUncompressed(r io.Reader) VarReader

Jump to

Keyboard shortcuts

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