(n int)
| 269 | } |
| 270 | |
| 271 | func (b *Buffer) Rewind(n int) error { |
| 272 | b.buf = b.buf[:len(b.buf)-n] |
| 273 | return nil |
| 274 | } |
| 275 | |
| 276 | func (b *Buffer) Encode(v interface{}) error { |
| 277 | if b.encoder == nil { |
nothing calls this directly
no outgoing calls
no test coverage detected