public class XdrUnsignedInteger extends XdrSimple<Long>
| Constructor and Description |
|---|
XdrUnsignedInteger() |
XdrUnsignedInteger(Long value) |
XdrUnsignedInteger(String value) |
| Modifier and Type | Method and Description |
|---|---|
protected int |
encodingBodyLength()
The length of an unsigned integer is 4.
|
protected void |
toBytes()
Encode Unsigned Integer type to bytes.
|
protected void |
toValue()
Decode bytes to Unsigned Integer value.
|
decode, decodeBody, encodeBody, encodeBody, getBytes, isSimple, setBytesdecode, encode, encode, encodingLength, getDataType, getValue, setValuepublic XdrUnsignedInteger()
public XdrUnsignedInteger(String value)
public XdrUnsignedInteger(Long value)
protected int encodingBodyLength()
encodingBodyLength in class XdrSimple<Long>protected void toBytes()
throws IOException
toBytes in class XdrSimple<Long>IOException - eCopyright © 2014–2019 The Apache Software Foundation. All rights reserved.