Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for CreatorVersion (0.04 sec)

  1. src/archive/zip/writer.go

    	switch {
    	case fh.NonUTF8:
    		fh.Flags &^= 0x800
    	case (utf8Require1 || utf8Require2) && (utf8Valid1 && utf8Valid2):
    		fh.Flags |= 0x800
    	}
    
    	fh.CreatorVersion = fh.CreatorVersion&0xff00 | zipVersion20 // preserve compatibility byte
    	fh.ReaderVersion = zipVersion20
    
    	// If Modified is set, this takes precedence over MS-DOS timestamp fields.
    	if !fh.Modified.IsZero() {
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Tue Jan 28 04:20:09 UTC 2025
    - 19.4K bytes
    - Viewed (0)
  2. src/archive/zip/reader.go

    	if _, err := io.ReadFull(r, buf[:]); err != nil {
    		return err
    	}
    	b := readBuf(buf[:])
    	if sig := b.uint32(); sig != directoryHeaderSignature {
    		return ErrFormat
    	}
    	f.CreatorVersion = b.uint16()
    	f.ReaderVersion = b.uint16()
    	f.Flags = b.uint16()
    	f.Method = b.uint16()
    	f.ModifiedTime = b.uint16()
    	f.ModifiedDate = b.uint16()
    	f.CRC32 = b.uint32()
    	f.CompressedSize = b.uint32()
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Tue Mar 11 22:19:38 UTC 2025
    - 28.4K bytes
    - Viewed (0)
Back to top