Set sets ByteBuffer.B to p.
(p []byte)
| 92 | |
| 93 | // Set sets ByteBuffer.B to p. |
| 94 | func (b *ByteBuffer) Set(p []byte) { |
| 95 | b.B = append(b.B[:0], p...) |
| 96 | } |
| 97 | |
| 98 | // SetString sets ByteBuffer.B to s. |
| 99 | func (b *ByteBuffer) SetString(s string) { |
nothing calls this directly
no outgoing calls
no test coverage detected