Packet returns the packet read by the last call to Next.
()
| 113 | |
| 114 | // Packet returns the packet read by the last call to Next. |
| 115 | func (r *Reader) Packet() *Packet { |
| 116 | return r.pkt |
| 117 | } |
| 118 | |
| 119 | // Err returns the first non-EOF error encountered by the Reader. |
| 120 | func (r *Reader) Err() error { |
no outgoing calls