Re: [edk2-buildtools] struct.unpack("LHHBBBBBBBB", DepexFile.read(16)) fails on OS X 64-bit Python as the size is 20.

2013-07-26 Thread Andrew Fish
On Jul 26, 2013, at 9:36 AM, "Kirkendall, Garrett" wrote: > According to http://docs.python.org/2/library/struct.html there are > indicators to be put at the beginning of the format string to indicate that > we want elements in standard size instead of native size. "=" selects native > byte

Re: [edk2-buildtools] struct.unpack("LHHBBBBBBBB", DepexFile.read(16)) fails on OS X 64-bit Python as the size is 20.

2013-07-26 Thread Kirkendall, Garrett
According to http://docs.python.org/2/library/struct.html there are indicators to be put at the beginning of the format string to indicate that we want elements in standard size instead of native size. "=" selects native byte order with python standard size and no alignment restrictions. So, m