public class BinaryRequestSerializer
extends java.lang.Object
Constructor and Description |
---|
BinaryRequestSerializer() |
Modifier and Type | Method and Description |
---|---|
static BinaryDataRequest |
deserialize(java.io.InputStream inputStream)
Deserializes the specified byte array.
|
static byte[] |
serialize(BinaryDataRequest request)
Serializes the specified
BinaryDataRequest object to be passed to the server. |
public static byte[] serialize(BinaryDataRequest request)
BinaryDataRequest
object to be passed to the server.request
- The object to be serialized.public static BinaryDataRequest deserialize(java.io.InputStream inputStream) throws java.io.IOException
inputStream
- The byte array to deserialize.BinaryDataResult
object that has been deserialized.java.io.IOException