String returns a string copy of the underlying byte slice.
()
| 96 | |
| 97 | // String returns a string copy of the underlying byte slice. |
| 98 | func (b *Buffer) String() string { |
| 99 | return string(b.bs) |
| 100 | } |
| 101 | |
| 102 | // Reset resets the underlying byte slice. Subsequent writes re-use the slice's |
| 103 | // backing array. |
no outgoing calls