Méthode | Description | |
---|---|---|
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 | ||
Résultat | string |
public static HexDump ( IByteBuf buffer, int bytesPerLine = 16 ) : string | ||
buffer | IByteBuf | |
bytesPerLine | int | |
Résultat | string |
public static HexDump ( byte bytes, int bytesPerLine = 16 ) : string | ||
bytes | byte | |
bytesPerLine | int | |
Résultat | string |
public static SwapLong ( long value ) : long | ||
value | long | |
Résultat | long |
public static SwapShort ( short value ) : short | ||
value | short | |
Résultat | short |