func (sfr *sparseFileReader) readHole(b []byte, toOffset int64) int {
	n64 := toOffset - sfr.pos
	if n64 > int64(len(b)) {
		n64 = int64(len(b))
	}
	n := int(n64)
	for i := 0; i < n; i++ {
		b[i] = 0
	}
	sfr.pos += n64
	return n
}
// readHole reads a sparse file hole ending at offset toOffset
readHole reads a sparse file hole ending at offset toOffset
// readHole reads a sparse file hole ending at offset toOffset
func (sfr *sparseFileReader) readHole(b []byte, toOffset int64) int {
	n64 := toOffset - sfr.pos
	if n64 > int64(len(b)) {
		n64 = int64(len(b))
	}
	n := int(n64)
	for i := 0; i < n; i++ {
		b[i] = 0
	}
	sfr.pos += n64
	return n
}
func ( sfr * sparseFileReader ) readHole ( b [ ] byte , toOffset int64 ) int { n64 := toOffset - sfr . pos if n64 > int64 ( len ( b ) ) { n64 = int64 ( len ( b ) ) } n := int ( n64 ) for i := 0 ; i < n ; i ++ { b [ i ] = 0 } sfr . pos += n64 return n }
readHole reads a sparse file hole ending at offset toOffset
readHole reads a sparse file hole ending at offset toOffset