First implementation of input stream complete.