String returns the contents of the buffer as a string.
()
| 31 | |
| 32 | // String returns the contents of the buffer as a string. |
| 33 | func (b *buffer) String() string { |
| 34 | return string(*b) |
| 35 | } |
| 36 | |
| 37 | // free truncates the buffer and returns it to the pool. |
| 38 | func (b *buffer) free() { |
no outgoing calls