Writes a map to an IO device.
the device to dump to
function called with a delegate that can be used to add elements that are to be dumped. Once that delegate returns, the rest will be written.
See Implementation
Writes a map to an IO device.