SwapLong() 공개 정적인 메소드

Toggles the endianness of the specified 64-bit long integer.
public static SwapLong ( long value ) : long
value long
리턴 long
예제 #1
0
 public IByteBuf WriteLong(long value)
 {
     _buf.WriteLong(ByteBufferUtil.SwapLong(value));
     return(this);
 }
예제 #2
0
 public IByteBuf SetLong(int index, long value)
 {
     _buf.SetLong(index, ByteBufferUtil.SwapLong(value));
     return(this);
 }
예제 #3
0
 public long ReadLong()
 {
     return(ByteBufferUtil.SwapLong(_buf.ReadLong()));
 }
예제 #4
0
 public long GetLong(int index)
 {
     return(ByteBufferUtil.SwapLong(_buf.GetLong(index)));
 }