Whitebeam Object Definition

Site Map
 
Home
 
Application Guide
Reference
  Installation
  Configuration
  XML Markup
  JavaScript Classes
  ROM
  Templates
  Environment
  Dev Process
  Tools
  External Links
  Example libraries
Community
Contact Whitebeam
To-Do
Download
Credits
Licence
Whitebeam Users
 
 
 

Whitebeam Object Definition

Method Description

Binary.toObj()

Create a JavaScript object from the contents of a binary object.

Syntax

MetaData Object = Binary.toObj()

Parameters

The 'Binary.toObj' method takes no parameters

Results

The 'Binary.toObj' method returns a JavaScript object containing arbitrary attributes (Meta Value):

Type/Value Range/Length Description
MetaData   A JavaScript object that is a recreation of that stored by Binary.fromObj().

Remarks

This is the inverse operation to Binary.fromObj(). It recreates the object originally stored in the Binary object. If successful the method returns a reference to the created object.

This method is only useful if the binary object stores a representation of another object - as created by Binary.fromObj(). Calling the method on arbitrary contents will have unpredictable results.
Whitebeam release 1.3.36
(loadtime : 27ms)