Exemplo n.º 1
0
 public void Load(SHNReader reader, ref int unkcount)
 {
     string caption = reader.ReadPaddedString(48);
     if (caption.Trim().Length < 2)
     {
         base.ColumnName = "Undefined " + unkcount.ToString();
         ++unkcount;
     }
     else
     {
         base.ColumnName = caption;
     }
     this.TypeByte = (byte)reader.ReadUInt32();
     this.DataType = GetType(this.TypeByte);
     this.Length = reader.ReadInt32();
 }