Functions for reading and writing streaming archives
