Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for body (0.37 sec)

  1. src/archive/zip/reader.go

    			}
    		}
    	}
    	r.err = err
    	return
    }
    
    func (r *checksumReader) Close() error { return r.rc.Close() }
    
    // findBodyOffset does the minimum work to verify the file has a header
    // and returns the file body offset.
    func (f *File) findBodyOffset() (int64, error) {
    	var buf [fileHeaderLen]byte
    	if _, err := f.zipr.ReadAt(buf[:], f.headerOffset); err != nil {
    		return 0, err
    	}
    	b := readBuf(buf[:])
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 27.7K bytes
    - Viewed (0)
Back to top