consum header input stream stream length stream avail byte length stream read byte length presum stream encod us encod xmi header byte io except defin log lp log granular type statement log error except read xmi file header endif 