| Constructor and Description |
|---|
BEInteger(byte[] content,
Number value) |
BEInteger(Number value) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
byte[] |
getContent() |
BEType |
getType() |
Number |
getValue() |
int |
hashCode() |
long |
longValueExact() |
String |
toString() |
void |
writeTo(OutputStream out)
Write this object's contents to the provided stream (excluding type prefix and terminator).
|
public BEInteger(Number value)
public BEInteger(byte[] content,
Number value)
content - Binary representation of this integer, as read from source.value - Parsed valuepublic BEType getType()
public byte[] getContent()
getContent in interface BEObject<Number>public Number getValue()
public long longValueExact()
public void writeTo(OutputStream out) throws IOException
BEObjectwriteTo in interface BEObject<Number>IOExceptionCopyright © 2016–2021. All rights reserved.