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