Lines Matching refs:buf
71 var buf [directoryHeaderLen]byte
72 b := writeBuf(buf[:])
89 var buf [28]byte // 2x uint16 + 3x uint64
90 eb := writeBuf(buf[:])
96 h.Extra = append(h.Extra, buf[:]...)
111 if _, err := w.cw.Write(buf[:]); err != nil {
131 var buf [directory64EndLen + directory64LocLen]byte
132 b := writeBuf(buf[:])
152 if _, err := w.cw.Write(buf[:]); err != nil {
164 var buf [directoryEndLen]byte
165 b := writeBuf(buf[:])
173 if _, err := w.cw.Write(buf[:]); err != nil {
262 var buf [fileHeaderLen]byte
263 b := writeBuf(buf[:])
298 if _, err := w.Write(buf[:]); err != nil {
377 var buf []byte
379 buf = make([]byte, dataDescriptor64Len)
381 buf = make([]byte, dataDescriptorLen)
383 b := writeBuf(buf)
393 _, err = w.zipw.Write(buf)