public void serialize ( RevisionDataOutput dataOutput , T object ) throws IOException { serialize ( dataOutput . getBaseStream ( ) , object ) ; }
Serializes the given object to the given RevisionDataOutput . This overload is usually invoked for serializing nested classes or collections .