コード例 #1
0
 private ByteBuffer PutFloat(long a, float x)
 {
     if (Unaligned)
     {
         int y = Float.floatToRawIntBits(x);
         @unsafe.putInt(a, (NativeByteOrder ? y : Bits.Swap(y)));
     }
     else
     {
         Bits.PutFloat(a, x, BigEndian);
     }
     return(this);
 }