IBasicEncoding
Direct Subclass:
Direct Implemented:
This interface represents a low level encoding, e.g. for indexedDB.
Method Summary
Public Methods | ||
public abstract |
decode(obj: *): * Decodes an object after loading it from the database. |
|
public abstract |
encode(obj: *): * Encodes an object before storing it in the database. |
Public Methods
public abstract decode(obj: *): * source
Decodes an object after loading it from the database.
Params:
Name | Type | Attribute | Description |
obj | * | The object to decode. |
Return:
* | Decoded object. |
public abstract encode(obj: *): * source
Encodes an object before storing it in the database.
Params:
Name | Type | Attribute | Description |
obj | * | The object to encode before storing it. |
Return:
* | Encoded object. |