Hello, It could always read with a initial buffer of 0.5-16k and return a truncated copy if it read less (and a omit truncation by returning shared static 0 length array if empty). But this will only optimize the 0 byte case.
Gruss Bernd -- http://bernd.eckenfels.net >From Win 10 Mobile Von: Martin Buchholz