Class ObjectSerializationUtil
- java.lang.Object
-
- org.eclipse.ecf.remoteservice.util.ObjectSerializationUtil
-
- Direct Known Subclasses:
ObjectSerializationParameterDeserializer
,ObjectSerializationResponseSerializer
public class ObjectSerializationUtil extends Object
- Since:
- 8.1
-
-
Field Summary
Fields Modifier and Type Field Description static int
DEFAULT_BAOS_BUFFER_SIZE
-
Constructor Summary
Constructors Constructor Description ObjectSerializationUtil()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
deserializeFromBytes(byte[] bytes)
byte[]
readToByteArray(InputStream input)
byte[]
serializeToBytes(Object object)
void
writeByteArray(OutputStream outs, byte[] bytes)
-
-
-
Field Detail
-
DEFAULT_BAOS_BUFFER_SIZE
public static final int DEFAULT_BAOS_BUFFER_SIZE
- See Also:
- Constant Field Values
-
-
Method Detail
-
readToByteArray
public byte[] readToByteArray(InputStream input) throws IOException
- Throws:
IOException
-
writeByteArray
public void writeByteArray(OutputStream outs, byte[] bytes) throws IOException
- Throws:
IOException
-
deserializeFromBytes
public Object deserializeFromBytes(byte[] bytes) throws IOException
- Throws:
IOException
-
serializeToBytes
public byte[] serializeToBytes(Object object) throws IOException
- Throws:
IOException
-
-