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