readpos

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2019 License: BSD-3-Clause Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ReadPos

type ReadPos struct {
	R      io.Reader
	CurPos int64
}

ReadPos implements io.Reader and stores the current number of bytes read from the reader

func (*ReadPos) Read

func (r *ReadPos) Read(p []byte) (int, error)

Read implements the io.Reader interface

func (*ReadPos) ReadByte

func (r *ReadPos) ReadByte() (byte, error)

ReadByte implements the io.ByteReader interface

Jump to

Keyboard shortcuts

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