public static List<Object> readAllObjects(final InputStream input)
		throws IOException
	{
		try (var objects = objects(input)) {
			return objects.toList();
		} catch (UncheckedIOException e) {
			throw e.getCause();
		}
	}
Reads all objects from the given {@code input} stream, which were
previously written with one of the {@code write} methods.

@param input the input stream where the objects are read from
@return a list of all read objects
@throws NullPointerException if the given {@code input} stream is
        {@code null}
@throws IOException if an I/O error occurs
jenetics.incubator/src/main/java/io/jenetics/incubator/util/Serializer.java