public virtual void Write(BoxWriter writer) { Common.Logger.Instance.Info("[Box::Write] writing a box of type [" + this.Type + ", " + this.GetType().Name + "], size [" + this.Size + "], offset [" + Offset + "], details: " + this.ToString()); if (this.expectedType == BoxTypes.Any) { return; } writer.WriteUInt32(this.size); writer.WriteBoxType(expectedType); if (this.size == 1) { writer.WriteUInt64(largeSize); } }
public virtual void Write(BoxWriter writer) { Common.Logger.Instance.Info("[Box::Write] writing a box of type [" + this.Type + ", " + this.GetType().Name + "], size [" + this.Size + "], offset [" + Offset + "], details: " + this.ToString()); if (this.expectedType == BoxTypes.Any) return; writer.WriteUInt32(this.size); writer.WriteBoxType(expectedType); if (this.size == 1) { writer.WriteUInt64(largeSize); } }