public class Length extends ByteParsable
Constructor and Description |
---|
Length() |
Modifier and Type | Method and Description |
---|---|
protected void |
clear() |
int |
intValue() |
int |
parse(byte[] bytes)
Parses a byte array.
|
static Length |
parseLength(byte[] bytes) |
java.lang.String |
toString() |
equals, getByteCount, getBytes, hashCode, setBytes
public static Length parseLength(byte[] bytes)
public int parse(byte[] bytes)
ByteParsable
parse
in class ByteParsable
bytes
- The bytes to parse.protected void clear()
clear
in class ByteParsable
public java.lang.String toString()
toString
in class ByteParsable
public int intValue()