Memory stream input/output library