Total returns total amount of data.
()
| 124 | |
| 125 | // Total returns total amount of data. |
| 126 | func (d *Decoder) Total() int { |
| 127 | return d.total |
| 128 | } |
| 129 | |
| 130 | // IsCompleted reports whether the read was completed successfully or not. |
| 131 | func (d *Decoder) IsCompleted() bool { |