public IByteBuf SetUnsignedInt(int index, uint value) { unchecked { _buf.SetUnsignedInt(index, (uint)ByteBufferUtil.SwapInt((int)value)); } return(this); }
public IByteBuf WriteUnsignedInt(uint value) { unchecked { _buf.WriteUnsignedInt((uint)ByteBufferUtil.SwapInt((int)value)); } return(this); }
public IByteBuf WriteInt(int value) { _buf.WriteInt(ByteBufferUtil.SwapInt(value)); return(this); }
public int ReadInt() { return(ByteBufferUtil.SwapInt(_buf.ReadInt())); }
public IByteBuf SetInt(int index, int value) { _buf.SetInt(index, ByteBufferUtil.SwapInt(value)); return(this); }
public int GetInt(int index) { return(ByteBufferUtil.SwapInt(_buf.GetInt(index))); }