Archive.unarchivePointer

Unarchives the pointer associated with the given key.

interface Archive
unarchivePointer
(
string key
,
void delegate
()
dg
)

Parameters

key string

the key associated with the pointer

dg void delegate
()

a callback that performs the unarchiving of value pointed to by the pointer

Return Value

Type: Id

the id associated with the pointer

Examples

auto archive = new XmlArchive!();
archive.beginUnarchiving(data);
auto id = unarchivePointer("ptr", {
    // unarchive the value pointed to by the pointer
});

Meta