예제 #1
0
 private ByteBuffer PutChar(long a, char x)
 {
     if (Unaligned)
     {
         char y = (x);
         @unsafe.putChar(a, (NativeByteOrder ? y : Bits.Swap(y)));
     }
     else
     {
         Bits.PutChar(a, x, BigEndian);
     }
     return(this);
 }