Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Counter

type Counter struct {
	R R
	N uint32
}

func (*Counter) Read

func (pr *Counter) Read(b []byte) (n int, err error)

func (*Counter) ReadByte

func (pr *Counter) ReadByte() (b byte, err error)

func (*Counter) Tell

func (pr *Counter) Tell() int64

func (*Counter) UnreadByte

func (pr *Counter) UnreadByte() (err error)

type R

type R interface {
	io.Reader
	io.ByteScanner
}