func (r *ReadPos) Read(p []byte) (int, error) {
	n, err := r.R.Read(p)
	r.CurPos += int64(n)
	return n, err
}
Read implements the io.Reader interface
package readpos
import (
	"io"
)
type ReadPos struct {
	R      io.Reader
	CurPos int64
}