Index: mojo/public/python/mojo/bindings/serialization.py |
diff --git a/mojo/public/python/mojo/bindings/serialization.py b/mojo/public/python/mojo/bindings/serialization.py |
index 2c0478f0408bee09094ecd8d51ed1b9ca472ce58..9a4b6a9bafbd781e70d47a14a540dc69de1ff4f5 100644 |
--- a/mojo/public/python/mojo/bindings/serialization.py |
+++ b/mojo/public/python/mojo/bindings/serialization.py |
@@ -8,7 +8,7 @@ |
# Format of a header for a struct or an array. |
-HEADER_STRUCT = struct.Struct("<II") |
+HEADER_STRUCT = struct.Struct("=II") |
class SerializationException(Exception): |
@@ -110,7 +110,7 @@ |
def _GetStruct(groups): |
index = 0 |
- codes = [ '<' ] |
+ codes = [ '=' ] |
for group in groups: |
code = group.GetTypeCode() |
size = group.GetByteSize() |