internal static CharDictionary Deserialize(BinaryReader binaryReader) { var charDictionary = new CharDictionary(); binaryReader.ReadInt32(); charDictionary.Length = binaryReader.ReadInt32(); charDictionary.Count = binaryReader.ReadInt32(); charDictionary.Offset = binaryReader.ReadInt16(); binaryReader.ReadBytes(24); charDictionary.CharUnitTable = new List <CharUnit>(); for (var i = 0; i < charDictionary.Count; i++) { charDictionary.CharUnitTable.Add(CharUnit.Deserialize(binaryReader)); } binaryReader.ReadInt16(); return(charDictionary); }