This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
new:packing [2018/02/17 21:20] – created korshun | new:packing [2018/02/17 21:25] (current) – korshun | ||
---|---|---|---|
Line 3: | Line 3: | ||
All ACS integers are 32-bit. Value packing functions let you store four 8-bit integers or two 16-bit integers in one 32-bit '' | All ACS integers are 32-bit. Value packing functions let you store four 8-bit integers or two 16-bit integers in one 32-bit '' | ||
- | ===== Packing 8-bit integers ===== | + | ===== Packing 8-bit integers |
'' | '' | ||
Line 23: | Line 23: | ||
</ | </ | ||
+ | ===== Packing 16-bit integers (shorts) ===== | ||
+ | |||
+ | '' | ||
+ | |||
+ | * '' | ||
+ | * '' | ||
+ | |||
+ | ===== Other packing options ===== | ||
+ | |||
+ | Other packing options are not supported. If you need some other way of packing values, it is recommended to implement it yourself. Only the most generally useful value packing functions are included. | ||