A stream implementation using memory mapped io