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