Beispiel #1
0
 public override ulong ReadUInt64()
 {
     if (mSwap)
     {
         return(EndiannessUtils.Swap(base.ReadUInt64()));
     }
     return(base.ReadUInt64());
 }
Beispiel #2
0
 public override uint ReadUInt32()
 {
     if (mSwap)
     {
         return(EndiannessUtils.Swap(base.ReadUInt32()));
     }
     return(base.ReadUInt32());
 }
Beispiel #3
0
 public override float ReadSingle()
 {
     if (mSwap)
     {
         return(EndiannessUtils.Swap(base.ReadSingle()));
     }
     return(base.ReadSingle());
 }
Beispiel #4
0
 public override double ReadDouble()
 {
     if (mSwap)
     {
         return(EndiannessUtils.Swap(base.ReadDouble()));
     }
     return(base.ReadDouble());
 }
Beispiel #5
0
 public override decimal ReadDecimal()
 {
     if (mSwap)
     {
         return(EndiannessUtils.Swap(base.ReadDecimal()));
     }
     return(base.ReadDecimal());
 }
Beispiel #6
0
 public override ushort ReadUInt16()
 {
     if (mSwap)
     {
         return(EndiannessUtils.Swap(base.ReadUInt16()));
     }
     return(base.ReadUInt16());
 }
 public override void Write(decimal value)
 {
     base.Write(mSwap ? EndiannessUtils.Swap(value) : value);
 }
 public override void Write(ushort value)
 {
     base.Write(mSwap ? EndiannessUtils.Swap(value) : value);
 }