(code, fp, options)
| 637 | |
| 638 | |
| 639 | def _unpack_float(code, fp, options): |
| 640 | if code == b'\xca': |
| 641 | return struct.unpack(">f", _read_except(fp, 4))[0] |
| 642 | elif code == b'\xcb': |
| 643 | return struct.unpack(">d", _read_except(fp, 8))[0] |
| 644 | raise Exception("logic error, not float: 0x%02x" % ord(code)) |
| 645 | |
| 646 | |
| 647 | def _unpack_string(code, fp, options): |
nothing calls this directly
no test coverage detected