Write 写入数据
(data []byte)
| 805 | |
| 806 | // Write 写入数据 |
| 807 | func (this *HTTPWriter) Write(data []byte) (n int, err error) { |
| 808 | if this.webpIsEncoding { |
| 809 | return |
| 810 | } |
| 811 | n, err = this.writer.Write(data) |
| 812 | |
| 813 | this.checkPlanBandwidth(n) |
| 814 | |
| 815 | return |
| 816 | } |
| 817 | |
| 818 | // WriteString 写入字符串 |
| 819 | func (this *HTTPWriter) WriteString(s string) (n int, err error) { |
no test coverage detected