public interface XdrType
| Modifier and Type | Method and Description |
|---|---|
void |
decode(byte[] content)
Decode the content bytes into this type.
|
void |
decode(ByteBuffer content)
Decode the content bytes into this type.
|
byte[] |
encode()
Encode the type, by recursively.
|
void |
encode(ByteBuffer buffer)
Encode the type, by recursively, using the provided buffer.
|
int |
encodingLength()
Get length of encoding bytes by just calculating without real encoding.
|
int encodingLength()
throws IOException
IOException - ebyte[] encode()
throws IOException
IOException - evoid encode(ByteBuffer buffer) throws IOException
buffer - The byte bufferIOException - evoid decode(byte[] content)
throws IOException
content - The content bytesIOException - evoid decode(ByteBuffer content) throws IOException
content - The content bytesIOException - eCopyright © 2014–2018 The Apache Software Foundation. All rights reserved.