SetString sets ByteBuffer.B to s.
(s string)
| 97 | |
| 98 | // SetString sets ByteBuffer.B to s. |
| 99 | func (b *ByteBuffer) SetString(s string) { |
| 100 | b.B = append(b.B[:0], s...) |
| 101 | } |
| 102 | |
| 103 | // String returns string representation of ByteBuffer.B. |
| 104 | func (b *ByteBuffer) String() string { |
no outgoing calls