Created
March 8, 2017 15:45
-
-
Save anonymous/a0a63c0274079eccc3cf2adbe019cb99 to your computer and use it in GitHub Desktop.
Speld Stemwijzer puzzel
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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