(i *int16)
| 63 | } |
| 64 | |
| 65 | func (r Reader) Short(i *int16) error { |
| 66 | d, err := r.readBytes(2) |
| 67 | *i = int16(d[0])<<8 | int16(d[1]) |
| 68 | return err |
| 69 | } |
| 70 | func (r Reader) Ushort(i *uint16) error { |
| 71 | d, err := r.readBytes(2) |
| 72 | *i = uint16(d[0])<<8 | uint16(d[1]) |
no test coverage detected