Exemple #1
0
        public Primitive(Stream stream)
        {
            UInt16 stringLength = stream.ReadUInt16();

            Name = stream.ReadAsciiString(stringLength);

            Data = stream.ReadStruct <PrimitiveData>();
        }
Exemple #2
0
 public Primitive()
 {
     Data = new PrimitiveData();
 }