International
Tables for
Crystallography
Volume G
Definition and exchange of crystallographic data
Edited by S. R. Hall and B. McMahon

International Tables for Crystallography (2006). Vol. G. ch. 5.6, p. 552

Table 5.6.3.1 

P. J. Ellisa and H. J. Bernsteinb*

a Stanford Linear Accelerator Center, 2575 Sand Hill Road, Menlo Park, CA 94025, USA, and bDepartment of Mathematics and Computer Science, Kramer Science Center, Dowling College, Idle Hour Blvd, Oakdale, NY 11769, USA
Correspondence e-mail:  yaya@bernstein-plus-sons.com

Table 5.6.3.1 | top | pdf |
Structure of compressed data using the canonical-code scheme

Byte Value
1 to 8 Number of elements (64-bit little-endian number)
9 to 16 Minimum element
17 to 24 Maximum element
25 to 32 (Reserved for future use)
33 Number of bits directly coded, n
34 Maximum number of bits encoded, maxbits
35 to 35 + 2n − 1 Number of bits in each direct code
35 + 2n Number of bits in the stop code
35 + 2n + 1 to 35 + 2n + maxbitsn Number of bits in each indirect code
35 + 2n + maxbitsn + 1… Coded data