Archive.unarchiveSlice

Unarchives the slice associated with the given key.

This method should be used when unarchiving an array that is a slice of an already unarchived array or an array that has not yet been unarchived.

interface Archive
unarchiveSlice
(
string key
)

Parameters

key string

the key associated with the slice

Return Value

Type: Slice

the unarchived slice

Examples

auto archive = new XmlArchive!();
archive.beginUnarchiving(data);
auto slice = unarchiveSlice("slice");

// slice the original array with the help of the unarchived slice

Meta