MapSerializer.loadDg

Loads dumped map content from the file system

Does not support structs with dynamic arrays yet.

class MapSerializer
void
loadDg
(
K
V
)

Parameters

K

key of the array map

V

value of the corresponding key

file_path cstring

path to the file to load from

putter PutterDg!(K, V)

function called for each entry to insert it into the map

Throws

Exception when the file has not the expected fileheader and other Exceptions for various kinds of errors (file not found, etc)

Meta