| 827 | } |
| 828 | |
| 829 | SLONG ClumpletReader::getInt() const |
| 830 | { |
| 831 | const FB_SIZE_T length = getClumpLength(); |
| 832 | |
| 833 | if (length > 4) |
| 834 | { |
| 835 | invalid_structure("length of integer exceeds 4 bytes", length); |
| 836 | return 0; |
| 837 | } |
| 838 | |
| 839 | return fromVaxInteger(getBytes(), length); |
| 840 | } |
| 841 | |
| 842 | double ClumpletReader::getDouble() const |
| 843 | { |
no outgoing calls