func (w *QWriter) Write(p []byte) (int, error) {
	if w.err != nil {
		return 0, w.err
	}
	n, err := w.w.Write(p)
	if err != nil {
		w.err = err
	}
	return n, err
}
// Write implements io.Writer.
Write implements io.Writer.
// Write implements io . Writer .
func (w *QWriter) Write(p []byte) (int, error) {
	if w.err != nil {
		return 0, w.err
	}
	n, err := w.w.Write(p)
	if err != nil {
		w.err = err
	}
	return n, err
}
func ( w * QWriter ) Write ( p [ ] byte ) ( int , error ) { if w . err != nil { return 0 , w . err } n , err := w . w . Write ( p ) if err != nil { w . err = err } return n , err }
Write implements io.Writer.
Write implements io . Writer .