Exemplo n.º 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));
 }