@Descriptor(tags=0) public abstract class BaseDescriptor extends Object
| Constructor and Description |
|---|
BaseDescriptor() |
| Modifier and Type | Method and Description |
|---|---|
int |
getSize() |
int |
getSizeSize() |
int |
getTag() |
void |
parse(int tag,
ByteBuffer bb) |
abstract void |
parseDetail(ByteBuffer bb) |
abstract ByteBuffer |
serialize() |
String |
toString() |
void |
writeSize(ByteBuffer bb,
int size) |
public int getTag()
public void writeSize(ByteBuffer bb, int size)
public int getSizeSize()
public int getSize()
public final void parse(int tag,
ByteBuffer bb)
throws IOException
IOExceptionpublic abstract void parseDetail(ByteBuffer bb) throws IOException
IOExceptionpublic abstract ByteBuffer serialize()
Copyright © 2016. All rights reserved.