Saves the state to the given output stream.
@param outStream output stream (can be a file, memory, etc)
@param streamId Stream id that uniquely identifies the saved state.
@return success.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.