Lines Matching refs:Writer
20 // Writer implements a seekable buffered io.Writer.
21 type Writer struct {
23 *bufio.Writer
26 // Create creates the file named name and returns a Writer
28 func Create(name string) (*Writer, error) {
33 return &Writer{f: f, Writer: bufio.NewWriter(f)}, nil
57 func (w *Writer) Seek(offset int64, whence int) int64 {
77 func (w *Writer) Offset() int64 {
92 func (w *Writer) Close() error {