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 {
202 func (w *Writer) Create(name string) (io.Writer, error) {
212 func (w *Writer) CreateHeader(fh *FileHeader) (io.Writer, error) {
228 func (w *Writer) createHeaderImpl(fh *FileHeader) (io.Writer, error) {
276 func writeHeader(w io.Writer, h *FileHeader) error {
338 func (w *Writer) RegisterCompressor(method uint16, comp Compressor) {
345 func (w *Writer) compressor(method uint16) Compressor {
438 io.Writer anonMember