1// Copyright 2015, Joe Tsai. All rights reserved.
2// Use of this source code is governed by a BSD-style
3// license that can be found in the LICENSE.md file.
4
5package brotli
6
7import "io"
8
9type writer struct {
10	InputOffset  int64 // Total number of bytes issued to Write
11	OutputOffset int64 // Total number of bytes written to underlying io.Writer
12
13	wr  bitWriter // Output destination
14	err error     // Persistent error
15}
16
17type writerConfig struct {
18	_ struct{} // Blank field to prevent unkeyed struct literals
19}
20
21func newWriter(w io.Writer, conf *writerConfig) (*writer, error) {
22	return nil, nil
23}
24
25func (bw *writer) Write(buf []byte) (int, error) {
26	return 0, nil
27}
28
29func (bw *writer) Close() error {
30	return nil
31}
32
33func (bw *writer) Reset(w io.Writer) error {
34	return nil
35}
36