Bytes returns the underlying slice of bytes of the path.
()
| 147 | |
| 148 | // Bytes returns the underlying slice of bytes of the path. |
| 149 | func (b *PathBuffer) Bytes() []byte { |
| 150 | return b.buf[:b.off] |
| 151 | } |
| 152 | |
| 153 | // String converts the path buffer to a string. |
| 154 | func (b *PathBuffer) String() string { |
no outgoing calls