(b []byte)
| 675 | type buffer struct{ data []byte } |
| 676 | |
| 677 | func (buf *buffer) Write(b []byte) (int, error) { |
| 678 | buf.data = append(buf.data, b...) |
| 679 | return len(b), nil |
| 680 | } |
| 681 | |
| 682 | func (buf *buffer) WriteString(s string) (int, error) { |
| 683 | buf.data = append(buf.data, s...) |
no outgoing calls
no test coverage detected