public class Ttlv extends Object
| Modifier and Type | Method and Description |
|---|---|
static TtlvBuilder |
create()
Returns an empty builder of TTLV-encoded messages.
|
static TtlvExtractor |
parse(byte[] message)
Returns an extractor of data from the given TTLV-encoded messages.
|
static TtlvExtractor |
parse(byte[] message,
int offset,
int length)
Returns an extractor of data from the given TTLV-encoded messages.
|
public static TtlvBuilder create()
public static TtlvExtractor parse(byte[] message) throws IOException
IllegalArgumentException - if message is nullIOExceptionpublic static TtlvExtractor parse(byte[] message, int offset, int length) throws IOException
IllegalArgumentException - if message is nullIOException