Skip to content

Instantly share code, notes, and snippets.

Created March 8, 2017 15:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/a0a63c0274079eccc3cf2adbe019cb99 to your computer and use it in GitHub Desktop.
Save anonymous/a0a63c0274079eccc3cf2adbe019cb99 to your computer and use it in GitHub Desktop.
Speld Stemwijzer puzzel
Path path = Paths.get("./blob");
String result = Files.lines(path)
.flatMap(line -> Arrays.stream(line.split(" ")))
.mapToInt(Integer::parseInt)
.mapToObj(i -> (char) i)
.map(String::valueOf)
.collect(Collectors.joining(""));
Files.write(Paths.get("./output.exif"), result.getBytes());
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment