private void DeserializeFile() { RawFile._index = -1; RawFile.ReadString(); Name = RawFile.ReadString(); Style = RawFile.ReadByte(); Size = (short)RawFile.ReadInt32(); CharsCount = RawFile.ReadInt32(); for (int i = 0; i < CharsCount; i++) { Char.Add((char)RawFile.ReadByte()); Width.Add(RawFile.ReadByte()); Height.Add(RawFile.ReadByte()); int l = RawFile.ReadInt32(); List <byte> data = new List <byte>(); for (int dat = 0; dat < l; dat++) { data.Add(RawFile.ReadByte()); } Data.Add(data.ToArray()); } }