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

International Tables for Crystallography (2006). Vol. G, ch. 2.3, p. 43
doi: 10.1107/97809553602060000729

Appendix A2.3.1. Deprecated CBF conventions

H. J. Bernsteina* and A. P. Hammersleyb

aDepartment of Mathematics and Computer Science, Kramer Science Center, Dowling College, Idle Hour Blvd, Oakdale, NY 11769, USA, and bESRF/EMBL Grenoble, 6 rue Jules Horowitz, France
Correspondence e-mail:

There was an earlier, now deprecated, CBF format in which the compression type was given as eight bytes of binary header. In this case, the eight bytes used for the compression type are subtracted from the size, so that the same size will be reported if the compression type is supplied in the MIME header. Use of the MIME header is the recommended way to supply the compression type.

These earlier versions of the specification also included three eight-byte words of information in binary that replicated information now available in the MIME header:

[5\dots12] Binary section identifier (see _array_data.binary_id), 64-bit, little-endian
[13\dots20] The size (n) of the binary section in octets (i.e. the offset from octet 29 to the first byte following the data)
[21\dots28] Compression type:  
  CBF_NONE 0x0040 (64)
  CBF_CANONICAL 0x0050 (80)
  CBF_PACKED 0x0060 (96)

The three eight-byte words were followed by binary data. These words are not included when a MIME header is provided.

to end of page
to top of page