public class CommonCodec extends Object
| Constructor and Description |
|---|
CommonCodec() |
| Modifier and Type | Method and Description |
|---|---|
static long |
decodeDecStringToLong(int index,
int len,
io.netty.buffer.ByteBuf buff)
Decode the specified
buff formatted as a decimal string starting at the readable index
with the specified length to a long. |
public static long decodeDecStringToLong(int index,
int len,
io.netty.buffer.ByteBuf buff)
buff formatted as a decimal string starting at the readable index
with the specified length to a long.index - the hex string indexlen - the hex string lengthbuff - the byte buff to read fromCopyright © 2020. All rights reserved.