func (r *Reader) Read(p []byte) (int, error) {
	readCallsBuffered.Inc()
	n, err := r.br.Read(p)
	readBytesBuffered.Add(n)
	if err != nil {
		return n, err
	}
	if err := r.st.adviseDontNeed(n, false); err != nil {
		return n, fmt.Errorf("advise error for %q: %s", r.f.Name(), err)
	}
	return n, nil
}
// Read reads file contents to p.
Read reads file contents to p.
// Read reads file contents to p .
func (r *Reader) Read(p []byte) (int, error) {
	readCallsBuffered.Inc()
	n, err := r.br.Read(p)
	readBytesBuffered.Add(n)
	if err != nil {
		return n, err
	}
	if err := r.st.adviseDontNeed(n, false); err != nil {
		return n, fmt.Errorf("advise error for %q: %s", r.f.Name(), err)
	}
	return n, nil
}
func ( r * Reader ) Read ( p [ ] byte ) ( int , error ) { readCallsBuffered . Inc ( ) n , err := r . br . Read ( p ) readBytesBuffered . Add ( n ) if err != nil { return n , err } if err := r . st . adviseDontNeed ( n , false ) ; err != nil { return n , fmt . Errorf ( " " , r . f . Name ( ) , err ) } return n , nil }
Read reads file contents to p.
Read reads file contents to p .