/// <summary> /// Gets the length of the property. /// </summary> /// <value> /// The length of the property. /// </value> //public override short PropertyLength //{ // get // { // if (StartCode != 0xFF) // return (short)(base.PropertyLength + 1); // return base.PropertyLength; // } //} /// <summary> /// Writes the content. /// </summary> protected override void WriteContent(IO.AcnBinaryWriter data) { if (StartCode != 0xFF) { data.Write(StartCode); data.Write(PropertyData, 1, PropertyData.Length - 1); } else { base.WriteContent(data); } }
/// <summary> /// Writes the content. /// </summary> protected override void WriteContent(IO.AcnBinaryWriter data) { if (StartCode != 0xFF) { data.Write(StartCode); } base.WriteContent(data); }