serialize(Object) method

Syntax

protected byte[] serialize ( Object obj ) throws IOException