Lines Matching defs:Writer
19 type Writer struct { struct
20 cw *countWriter
21 dir []*header
22 last *fileWriter
23 closed bool
24 compressors map[uint16]Compressor
33 func NewWriter(w io.Writer) *Writer {
41 func (w *Writer) SetOffset(n int64) {
50 func (w *Writer) Flush() error {
56 func (w *Writer) Close() error {
187 func (w *Writer) Create(name string) (io.Writer, error) {
197 func (w *Writer) CreateHeader(fh *FileHeader) (io.Writer, error) {
213 func (w *Writer) createHeaderImpl(fh *FileHeader) (io.Writer, error) {
261 func writeHeader(w io.Writer, h *FileHeader) error {
311 func (w *Writer) RegisterCompressor(method uint16, comp Compressor) {
318 func (w *Writer) compressor(method uint16) Compressor {
411 io.Writer anonMember