Appends data to a serialized data stream.
object.write( str )
| 
 Parameter  | 
    
 Description  | 
  
|---|---|
| object | 
 Instance name of the WddxSerializer object  | 
  
| str | 
 String to be copied to the serialized data stream  | 
  
Returns an updated serialized data stream as a String.
This is an internal function; you do not typically call it.
This example is from the WddxSerializer serializeValue function:
...
else if (typeof(obj) == "number")
{
    // Number value
    this.write("<number>" + obj + "</number>");
}
else if (typeof(obj) == "boolean")
{
    // Boolean value
    this.write("<boolean value='" + obj + "'/>");
}
...