IsCompleted reports whether the read was completed successfully or not.
()
| 129 | |
| 130 | // IsCompleted reports whether the read was completed successfully or not. |
| 131 | func (d *Decoder) IsCompleted() bool { |
| 132 | return d.completed |
| 133 | } |
| 134 | |
| 135 | // Reset resets decoder, preparing it for the next run. |
| 136 | func (d *Decoder) Reset() { |
no outgoing calls