WriteString appends s to ByteBuffer.B.
(s string)
| 86 | |
| 87 | // WriteString appends s to ByteBuffer.B. |
| 88 | func (b *ByteBuffer) WriteString(s string) (int, error) { |
| 89 | b.B = append(b.B, s...) |
| 90 | return len(s), nil |
| 91 | } |
| 92 | |
| 93 | // Set sets ByteBuffer.B to p. |
| 94 | func (b *ByteBuffer) Set(p []byte) { |
no outgoing calls