private ByteBuffer PutShort(long a, short x) { if (Unaligned) { short y = (x); @unsafe.putShort(a, (NativeByteOrder ? y : Bits.Swap(y))); } else { Bits.PutShort(a, x, BigEndian); } return(this); }
private ByteBuffer PutShort(long a, short x) { if (Unaligned) { short y = (x); @unsafe.putShort(a, (NativeByteOrder ? y : Bits.Swap(y))); } else { Bits.PutShort(a, x, BigEndian); } return(this); }