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

            Name = stream.ReadAsciiString(stringLength);

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