Home | History | Annotate | Download | only in textproto

Lines Matching refs:Writer

13 // A Writer implements convenience methods for writing
15 type Writer struct {
16 W *bufio.Writer
20 // NewWriter returns a new Writer writing to w.
21 func NewWriter(w *bufio.Writer) *Writer {
22 return &Writer{W: w}
29 func (w *Writer) PrintfLine(format string, args ...interface{}) error {
36 // DotWriter returns a writer that can be used to write a dot-encoding to w.
43 func (w *Writer) DotWriter() io.WriteCloser {
49 func (w *Writer) closeDot() {
56 w *Writer