Skip to content

Commit

Permalink
Merge pull request #73 from mdboom/checksum
Browse files Browse the repository at this point in the history
Checksum
  • Loading branch information
mdboom committed Mar 19, 2015
2 parents 22375ac + ea5d024 commit aab6397
Show file tree
Hide file tree
Showing 13 changed files with 4 additions and 5 deletions.
Binary file modified reference_files/0.1.0/ascii.asdf
Binary file not shown.
Binary file modified reference_files/0.1.0/basic.asdf
Binary file not shown.
Binary file modified reference_files/0.1.0/complex.asdf
Binary file not shown.
Binary file modified reference_files/0.1.0/compressed.asdf
Binary file not shown.
Binary file modified reference_files/0.1.0/exploded0000.asdf
Binary file not shown.
Binary file modified reference_files/0.1.0/float.asdf
Binary file not shown.
Binary file modified reference_files/0.1.0/int.asdf
Binary file not shown.
Binary file modified reference_files/0.1.0/shared.asdf
Binary file not shown.
Binary file modified reference_files/0.1.0/stream.asdf
Binary file not shown.
Binary file modified reference_files/0.1.0/unicode_bmp.asdf
Binary file not shown.
Binary file modified reference_files/0.1.0/unicode_spp.asdf
Binary file not shown.
1 change: 0 additions & 1 deletion reference_files/generate/generate
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@

from __future__ import unicode_literals

import copy
import os

try:
Expand Down
8 changes: 4 additions & 4 deletions source/file_layout.rst
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ Each block begins with the following header:
backward compatibility. Importantly, ASDF parsers should not assume
a fixed size of the header, but should obey the ``header_size``
defined in the file. In ASDF version 0.1, this should be at least
40, but may be larger, for example to align the beginning of the
48, but may be larger, for example to align the beginning of the
block content with a file system block boundary.

- ``flags`` (32-bit unsigned integer, big-endian): A bit field
Expand All @@ -187,9 +187,9 @@ Each block begins with the following header:
If compression is being used, this is the size of the decoded block
data.

- ``checksum`` (64-bit unsigned integer, big-endian): An optional MD5
checksum of the used data in the block. The special value of 0
indicates that no checksum verification should be performed. *TBD*.
- ``checksum`` (16-byte string): An optional MD5 checksum of the used
data in the block. The special value of all zeros indicates that no
checksum verification should be performed.

Flags
^^^^^
Expand Down

0 comments on commit aab6397

Please sign in to comment.