public class XdrInteger extends XdrSimple<Integer>
| Constructor and Description |
|---|
XdrInteger() |
XdrInteger(Integer value) |
| Modifier and Type | Method and Description |
|---|---|
protected int |
encodingBodyLength()
The length of a signed integer is 4.
|
protected void |
toBytes()
Encode Integer type to bytes.
|
protected void |
toValue()
Decode bytes to Integer value.
|
decode, decodeBody, encodeBody, encodeBody, getBytes, isSimple, setBytesdecode, encode, encode, encodingLength, getDataType, getValue, setValuepublic XdrInteger()
public XdrInteger(Integer value)
protected int encodingBodyLength()
encodingBodyLength in class XdrSimple<Integer>protected void toBytes()
Copyright © 2014–2017 The Apache Software Foundation. All rights reserved.