public Primitive(Stream stream) { UInt16 stringLength = stream.ReadUInt16(); Name = stream.ReadAsciiString(stringLength); Data = stream.ReadStruct <PrimitiveData>(); }
public Primitive() { Data = new PrimitiveData(); }