You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: cbuf.go
    path of file: ./repos/ws/wsflate
    
    the code of the file until where you have to start completion: package wsflate

import (
	"io"
)

// cbuf is a tiny proxy-buffer that writes all but 4 last bytes to the
// destination.
type cbuf struct {
	buf [4]byte
	n   int
	dst io.Writer
	err error
}

// Write implements io.Writer interface.
func (c *cbuf) Write(p []byte) (in
    
func (r *suffixedReader) ReadByte() (b byte, err error) {
	if r.r != nil {
		br, ok := r.r.(io.ByteReader)
		if !ok {
			panic("wsflate: internal error: incorrect use of suffixedReader")
		}
		b, err = br.ReadByte()
		if err == io.EOF {
			err = nil
			r.r = nil
		}
		return b, err
	}
	if r.pos >= len(r.suffix) {
		return 0, io.EOF
	}
	b = r.suffix[r.pos]
	r.pos++
	return b, nil
}