示例#1
0
 private short GetShort(long a)
 {
     if (Unaligned)
     {
         short x = @unsafe.getShort(a);
         return(NativeByteOrder ? x : Bits.Swap(x));
     }
     return(Bits.GetShort(a, BigEndian));
 }