Got rid of byte-order dependencies.

This commit is contained in:
Jack Jansen 2006-02-23 14:54:30 +00:00
parent b518d8c7d7
commit de540e2288
1 changed files with 2 additions and 2 deletions

View File

@ -25,14 +25,14 @@ class Error(ValueError):
pass
# File header format: magic, version, unused, number of entries
AS_HEADER_FORMAT="LL16sh"
AS_HEADER_FORMAT=">ll16sh"
AS_HEADER_LENGTH=26
# The flag words for AppleSingle
AS_MAGIC=0x00051600
AS_VERSION=0x00020000
# Entry header format: id, offset, length
AS_ENTRY_FORMAT="lll"
AS_ENTRY_FORMAT=">lll"
AS_ENTRY_LENGTH=12
# The id values