public override void Write(uint value) { value = swap ? Endian.Swap(value) : value; base.Write(value); }