archive/zip.FileHeader.Extra (field)
12 uses
archive/zip (current package)
reader.go#L299: f.Extra = d[filenameLen : filenameLen+extraLen]
reader.go#L329: for extra := readBuf(f.Extra); len(extra) >= 4; { // need at least tag and size
struct.go#L136: Extra []byte
writer.go#L116: h.Extra = append(h.Extra, buf[:]...)
writer.go#L123: b.uint16(uint16(len(h.Extra)))
writer.go#L138: if _, err := w.cw.Write(h.Extra); err != nil {
writer.go#L319: fh.Extra = append(fh.Extra, mbuf[:]...)
writer.go#L381: if len(h.Extra) > maxUint16 {
writer.go#L397: b.uint16(uint16(len(h.Extra)))
writer.go#L404: _, err := w.Write(h.Extra)
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |