the slice to be archived
the id associated with the slice
the id associated with the array this slice is a slice of
auto arr = [1, 2, 3, 4]; auto slice = arr[1 .. 3]; auto archive = new XmlArchive!(); // archive "arr" with id 0 auto s = Slice(slice.length, 1); archive.archiveSlice(s, 1, 0);
Archives a slice.
This method should be used when archiving an array that is a slice of an already archived array or an array that has not yet been archived.