Calls binary.Read(dec.in, dec.order, v) and panics on read errors.
(v any)
| 54 | |
| 55 | // Calls binary.Read(dec.in, dec.order, v) and panics on read errors. |
| 56 | func (dec *decoder) binread(v any) { |
| 57 | if err := binary.Read(dec.in, dec.order, v); err != nil { |
| 58 | panic(err) |
| 59 | } |
| 60 | } |
| 61 | |
| 62 | func (dec *decoder) Decode(sig Signature) (vs []any, err error) { |
| 63 | defer func() { |