Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for OpenRaw (0.03 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. src/archive/zip/reader.go

    	}
    	rc = &checksumReader{
    		rc:   rc,
    		hash: crc32.NewIEEE(),
    		f:    f,
    		desr: desr,
    	}
    	return rc, nil
    }
    
    // OpenRaw returns a [Reader] that provides access to the [File]'s contents without
    // decompression.
    func (f *File) OpenRaw() (io.Reader, error) {
    	bodyOffset, err := f.findBodyOffset()
    	if err != nil {
    		return nil, err
    	}
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Thu Jan 15 18:35:56 GMT 2026
    - 28.5K bytes
    - Click Count (0)
  2. src/archive/zip/writer.go

    }
    
    // Copy copies the file f (obtained from a [Reader]) into w. It copies the raw
    // form directly bypassing decompression, compression, and validation.
    func (w *Writer) Copy(f *File) error {
    	r, err := f.OpenRaw()
    	if err != nil {
    		return err
    	}
    	// Copy the FileHeader so w doesn't store a pointer to the data
    	// of f's entire archive. See #65499.
    	fh := f.FileHeader
    	fw, err := w.CreateRaw(&fh)
    	if err != nil {
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Tue Jan 28 04:20:09 GMT 2025
    - 19.4K bytes
    - Click Count (0)
Back to Top