| Modifier and Type | Method and Description |
|---|---|
protected int |
encodingBodyLength()
Length including null bytes to maintain an multiple of 4.
|
int |
getPadding() |
void |
setPadding(int padding) |
protected void |
toBytes()
Encode simple type to bytes.
|
protected void |
toValue()
Decode bytes to simple value.
|
decode, decodeBody, encodeBody, encodeBody, getBytes, isSimple, setBytesdecode, encode, encode, encodingLength, getDataType, getValue, setValueprotected void toValue()
throws IOException
XdrSimpletoValue in class XdrSimple<byte[]>IOExceptionprotected int encodingBodyLength()
throws IOException
XdrSimpleencodingBodyLength in class XdrSimple<byte[]>IOExceptionprotected void toBytes()
throws IOException
XdrSimpletoBytes in class XdrSimple<byte[]>IOException - epublic void setPadding(int padding)
public int getPadding()
Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.