SwapLong() public static method

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