readpos

package
v0.0.0-...-c8e9c26 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2018 License: LGPL-3.0, 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