Метод | Описание | |
---|---|---|
DecodeString ( IByteBuf src, int readerIndex, int len, |
||
HexDump ( IByteBuf buffer, int bytesPerLine = 16 ) : string | ||
HexDump ( byte bytes, int bytesPerLine = 16 ) : string | ||
SwapInt ( int value ) : int |
Toggles the endianness of the specified 32-bit integer.
|
|
SwapLong ( long value ) : long |
Toggles the endianness of the specified 64-bit long integer.
|
|
SwapShort ( short value ) : short |
Toggles the endianness of the specified 16-bit integer.
|
public static DecodeString ( IByteBuf src, int readerIndex, int len, |
||
src | IByteBuf | |
readerIndex | int | |
len | int | |
encoding | ||
Результат | string |
public static HexDump ( IByteBuf buffer, int bytesPerLine = 16 ) : string | ||
buffer | IByteBuf | |
bytesPerLine | int | |
Результат | string |
public static HexDump ( byte bytes, int bytesPerLine = 16 ) : string | ||
bytes | byte | |
bytesPerLine | int | |
Результат | string |
public static SwapInt ( int value ) : int | ||
value | int | |
Результат | int |
public static SwapLong ( long value ) : long | ||
value | long | |
Результат | long |
public static SwapShort ( short value ) : short | ||
value | short | |
Результат | short |