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 SummaryFields Modifier and Type Field Description static intDEFAULT_BAOS_BUFFER_SIZE
 - 
Constructor SummaryConstructors Constructor Description ObjectSerializationUtil()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectdeserializeFromBytes(byte[] bytes)byte[]readToByteArray(InputStream input)byte[]serializeToBytes(Object object)voidwriteByteArray(OutputStream outs, byte[] bytes)
 
- 
- 
- 
Field Detail- 
DEFAULT_BAOS_BUFFER_SIZEpublic static final int DEFAULT_BAOS_BUFFER_SIZE - See Also:
- Constant Field Values
 
 
- 
 - 
Method Detail- 
readToByteArraypublic byte[] readToByteArray(InputStream input) throws IOException - Throws:
- IOException
 
 - 
writeByteArraypublic void writeByteArray(OutputStream outs, byte[] bytes) throws IOException - Throws:
- IOException
 
 - 
deserializeFromBytespublic Object deserializeFromBytes(byte[] bytes) throws IOException - Throws:
- IOException
 
 - 
serializeToBytespublic byte[] serializeToBytes(Object object) throws IOException - Throws:
- IOException
 
 
- 
 
-