示例#1
0
 private ByteBuffer PutInt(long a, int x)
 {
     if (Unaligned)
     {
         int y = (x);
         @unsafe.putInt(a, (NativeByteOrder ? y : Bits.Swap(y)));
     }
     else
     {
         Bits.PutInt(a, x, BigEndian);
     }
     return(this);
 }