Once you've initialized the container, you can get a copy of the object it stores by calling
deserializeToVariant(). You can also get a base-64-encoded string containing a copy of the container's serialized data, using
| || ||Get the version of the structured clone algorithm which was used to generate this container's serialized buffer. Read only.|
| || ||Get the size in bytes of this container's serialized data. Read only.|
Deserialize the object this container holds, returning it wrapped as an
Get this structured clone container's data as a base-64-encoded string.
A base-64-encoded string.
Initialize this structured clone container from a base-64-encoded byte stream.
void initFromBase64( in AString aData, in unsigned long aFormatVersion );
- A base-64-encoded byte stream.
- The version of the structured clone algorithm which was used to generate
Initialize this structured clone container so it contains a clone of the given variant.
void initFromVariant( in nsIVariant aData );
nsIVariant, must be backed by a .