// UpdateReader updates the underlying io.ReadCloser stopping the
// asynb buffer (if any) and re-adding it
UpdateReader updates the underlying io.ReadCloser stopping the
asynb buffer (if any) and re-adding it
// UpdateReader updates the underlying io . ReadCloser stopping the // asynb buffer ( if any ) and re - adding it
func (acc *Account) UpdateReader(in io.ReadCloser) {
	acc.mu.Lock()
	acc.StopBuffering()
	acc.in = in
	acc.close = in
	acc.origIn = in
	acc.WithBuffer()
	acc.mu.Unlock()
}
func ( acc * Account ) UpdateReader ( in io . ReadCloser ) { acc . mu . Lock ( ) acc . StopBuffering ( ) acc . in = in acc . close = in acc . origIn = in acc . WithBuffer ( ) acc . mu . Unlock ( ) }
UpdateReader updates the underlying io.ReadCloser stopping the
asynb buffer (if any) and re-adding it
UpdateReader updates the underlying io . ReadCloser stopping the asynb buffer ( if any ) and re - adding it