diff --git a/csla_binary/binary_reader.py b/csla_binary/binary_reader.py index 91bf246..d4ab5bb 100644 --- a/csla_binary/binary_reader.py +++ b/csla_binary/binary_reader.py @@ -130,7 +130,7 @@ class CslaBinaryReader: raise NotImplementedError() if known_type == CslaKnownTypes.Int32.value: - raise NotImplementedError() + return self.read_int32() if known_type == CslaKnownTypes.UInt32.value: raise NotImplementedError() @@ -185,7 +185,8 @@ class CslaBinaryReader: return system_string if known_type == CslaKnownTypes.StringDictionaryKey.value: - raise NotImplementedError() + dictionary_key = self.read_int32() + return self.keywords_dictionary[dictionary_key] raise ValueError('Unexpected object tag {}'.format(known_type))