Interface Storable
Interface for improved storage support. Storable
instances implement
data encoder and decoder methods to enable compact data storage, primarily
used with Core Storage.
The Storable
interface can be used similar to the PHP serialisation
system but does not use a generic serialisation format. Instead classes
that implement this interface provide their own space-efficient and
high performance data storage using an arbitrary storage format.
Methods summary
public static
object
|
|
public
string
|
#
pack( )
Returns a compact binary representation of the object. Allows space-efficient storage of class data and guarantees reconstruction of a class from the binary data. |