Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for skipCount (0.04 sec)

  1. internal/ioutil/ioutil.go

    			buf := *bufp
    			tmp = buf[:copyBufferSize]
    			defer copyBufPool.Put(bufp)
    			l = int64(len(tmp))
    		}
    		for s.skipCount > 0 {
    			if l > s.skipCount {
    				l = s.skipCount
    			}
    			n, err := s.Reader.Read(tmp[:l])
    			if err != nil {
    				return 0, err
    			}
    			s.skipCount -= int64(n)
    		}
    	}
    	return s.Reader.Read(p)
    }
    
    // NewSkipReader - creates a SkipReader
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jul 26 12:55:01 UTC 2024
    - 10.9K bytes
    - Viewed (0)
Back to top