Home Reference Source Test
public interface | source

IBasicEncoding

Direct Subclass:

ILMDBEncoding, ILMDBEncoding

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:

NameTypeAttributeDescription
obj *

The object to decode.

Return:

*

Decoded object.

public abstract encode(obj: *): * source

Encodes an object before storing it in the database.

Params:

NameTypeAttributeDescription
obj *

The object to encode before storing it.

Return:

*

Encoded object.