public static class LispAppDataLcafAddress.AppDataLcafAddressReader extends Object implements LispAddressReader<LispAppDataLcafAddress>
| Constructor and Description |
|---|
AppDataLcafAddressReader() |
| Modifier and Type | Method and Description |
|---|---|
static int |
getPartialInt(byte[] bytes)
An utility function that obtains the partial int value from byte arrays.
|
LispAppDataLcafAddress |
readFrom(io.netty.buffer.ByteBuf byteBuf)
Reads from byte buffer and de-serialize the LISP address.
|
public LispAppDataLcafAddress readFrom(io.netty.buffer.ByteBuf byteBuf) throws LispParseError, LispReaderException
LispAddressReaderreadFrom in interface LispAddressReader<LispAppDataLcafAddress>byteBuf - byte bufferLispParseError - LISP address parse errorLispReaderException - LISP reader exceptionpublic static int getPartialInt(byte[] bytes)
bytes - an array of bytes