Write implements io.Writer - it appends p to ByteBuffer.B
(p []byte)
| 70 | |
| 71 | // Write implements io.Writer - it appends p to ByteBuffer.B |
| 72 | func (b *ByteBuffer) Write(p []byte) (int, error) { |
| 73 | b.B = append(b.B, p...) |
| 74 | return len(p), nil |
| 75 | } |
| 76 | |
| 77 | // WriteByte appends the byte c to the buffer. |
| 78 | // |
no outgoing calls