My little project extract strings from some tbl files and then write them to a txt file. But the BufferedSink.writeUtf8() method cannot write all content to the file. I also tested with printing to console and java nio,. Only okio produce inconsistent result, the last few lines are missing.
The raw file is probably copyrighted so I share it separately on a google drive link. Put it "src/main/kotlin/ggendata" folder, then run the Main.kt.
My little project extract strings from some tbl files and then write them to a txt file. But the BufferedSink.writeUtf8() method cannot write all content to the file. I also tested with printing to console and java nio,. Only okio produce inconsistent result, the last few lines are missing.
The raw file is probably copyrighted so I share it separately on a google drive link. Put it "src/main/kotlin/ggendata" folder, then run the Main.kt.