NewWriter returns a new [Writer] writing a zip file to w.
(w io.Writer)
| 43 | |
| 44 | // NewWriter returns a new [Writer] writing a zip file to w. |
| 45 | func NewWriter(w io.Writer) *Writer { |
| 46 | return &Writer{cw: &countWriter{w: bufio.NewWriter(w)}} |
| 47 | } |
| 48 | |
| 49 | // SetOffset sets the offset of the beginning of the zip data within the |
| 50 | // underlying writer. It should be used when the zip data is appended to an |
no outgoing calls
searching dependent graphs…