binary_reader::stock_data stock_data(inputStream);
if( inputStream.eof() )
	break;
stock_data.write(outputStream);