Exemple #1
0
 public IByteBuffer WriteLong(long value)
 {
     this.buf.WriteLong(ByteBufferUtil.SwapLong(value));
     return(this);
 }
Exemple #2
0
 public long ReadLong()
 {
     return(ByteBufferUtil.SwapLong(this.buf.ReadLong()));
 }
Exemple #3
0
 public IByteBuffer SetLong(int index, long value)
 {
     this.buf.SetLong(index, ByteBufferUtil.SwapLong(value));
     return(this);
 }
Exemple #4
0
 public long GetLong(int index)
 {
     return(ByteBufferUtil.SwapLong(this.buf.GetLong(index)));
 }
 public long ReadLong() => ByteBufferUtil.SwapLong(this.buf.ReadLong());
 public long GetLong(int index) => ByteBufferUtil.SwapLong(this.buf.GetLong(index));