binary_read_format
List of: Options
Subjects: Modeler Control, SAT Save and Restore
Contents: Kernel

Action: Controls the format to use when reading ACIS part save files as binary.

Name String: binary_read_format

Scheme: integer -1, 0, 1, 2, 3, 4, 5, 6 -1

Test Harness: integer -1, 0, 1, 2, 3, 4, 5, 6 -1

C++: int -1, 0, 1, 2, 3, 4, 5, 6 -1

Description: This option determines the format used when reading ACIS part save files in binary form (from .sab files). It controls whether the file is read in a 32 bit or 64 bit (word size) format and whether the file is read with big-endian or little-endian byte ordering. The word size only affects longs. Pointers are converted to (long) indices before being written to the .sab file. All other types are the same size on 32 and 64 bit platforms.


The possible values are:


-1 Determine the format automatically

0 Use the native format for the platform

1 Use big-endian byte ordering with native word sizes for the platform

2 Use little-endian byte ordering with native word sizes for the platform

3 Use big-endian byte ordering with 32 bit word sizes

4 Use little-endian byte ordering with 32 bit word sizes

5 Use big-endian byte ordering with 64 bit word sizes

6 Use little-endian byte ordering with 64 bit word sizes

Example: ; binary_read_format

; Using little-endian order and native word size

(option:set "binary_read_format" 2)

;; -1
PDF/KERN/40OPT.PDF
HTM/DATA/KERN/KERN/40OPT/0007.HTM