Add MacInputStream

Calculate the mac footprint from an InputStream