Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for OpenRaw (0.05 sec)

  1. 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 {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Sep 23 14:32:33 UTC 2024
    - 19.4K bytes
    - Viewed (0)
Back to top