org.eclipse.ecf.remoteservice.util
Class ObjectSerializationUtil
java.lang.Object
org.eclipse.ecf.remoteservice.util.ObjectSerializationUtil
- Direct Known Subclasses:
- ObjectSerializationParameterDeserializer, ObjectSerializationResponseSerializer
public class ObjectSerializationUtil
- extends java.lang.Object
- Since:
- 8.1
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_BAOS_BUFFER_SIZE
public static final int DEFAULT_BAOS_BUFFER_SIZE
- See Also:
- Constant Field Values
ObjectSerializationUtil
public ObjectSerializationUtil()
readToByteArray
public byte[] readToByteArray(java.io.InputStream input)
throws java.io.IOException
- Throws:
java.io.IOException
writeByteArray
public void writeByteArray(java.io.OutputStream outs,
byte[] bytes)
throws java.io.IOException
- Throws:
java.io.IOException
deserializeFromBytes
public java.lang.Object deserializeFromBytes(byte[] bytes)
throws java.io.IOException
- Throws:
java.io.IOException
serializeToBytes
public byte[] serializeToBytes(java.lang.Object object)
throws java.io.IOException
- Throws:
java.io.IOException