public class XdrLong extends XdrSimple<Long>
| Modifier and Type | Method and Description |
|---|---|
protected int |
encodingBodyLength()
The length of a signed long is 8.
|
protected void |
toBytes()
Encode Long type to bytes.
|
protected void |
toValue()
Decode bytes to Long value.
|
decode, decodeBody, encodeBody, encodeBody, getBytes, isSimple, setBytesdecode, encode, encode, encodingLength, getDataType, getValue, setValuepublic XdrLong()
public XdrLong(Long value)
protected int encodingBodyLength()
throws IOException
encodingBodyLength in class XdrSimple<Long>IOExceptionprotected void toBytes()
throws IOException
toBytes in class XdrSimple<Long>IOException - eCopyright © 2014–2022 The Apache Software Foundation. All rights reserved.