There are ReadUnsignedInt/ReadUnsignedIntLE/GetUnsignedInt/GetUnsignedIntLE/SetUnsignedInt/SetUnsignedIntLE methods, but no WriteUnsignedInt/WriteUnsignedIntLE ? why? How should I do to write an uint with little-endian to the ByteBuf ?
|
|
|
/// <summary> |
|
/// Gets an unsigned integer at the current <see cref="ReaderIndex" /> and increases the <see cref="ReaderIndex" /> |
|
/// by <c>4</c> in this buffer. |
|
/// </summary> |
|
/// <exception cref="IndexOutOfRangeException">if <see cref="ReadableBytes" /> is less than <c>4</c></exception> |
|
uint ReadUnsignedInt(); |
|
|
|
/// <summary> |
|
/// Gets an unsigned integer at the current <see cref="ReaderIndex" /> in the Little Endian Byte Order and |
|
/// increases the <see cref="ReaderIndex" /> by <c>4</c> in this buffer. |
|
/// </summary> |
|
/// <exception cref="IndexOutOfRangeException">if <see cref="ReadableBytes" /> is less than <c>4</c></exception> |
|
uint ReadUnsignedIntLE(); |
|
|
There are ReadUnsignedInt/ReadUnsignedIntLE/GetUnsignedInt/GetUnsignedIntLE/SetUnsignedInt/SetUnsignedIntLE methods, but no WriteUnsignedInt/WriteUnsignedIntLE ? why? How should I do to write an uint with little-endian to the ByteBuf ?
DotNetty/src/DotNetty.Buffers/IByteBuffer.cs
Lines 885 to 899 in 00c2360