Len returns the length of the underlying byte slice.
()
| 81 | |
| 82 | // Len returns the length of the underlying byte slice. |
| 83 | func (b *Buffer) Len() int { |
| 84 | return len(b.bs) |
| 85 | } |
| 86 | |
| 87 | // Cap returns the capacity of the underlying byte slice. |
| 88 | func (b *Buffer) Cap() int { |
no outgoing calls