Kotlin native readLine() truncate stdin data

Viewed 131

I have a file with very long lines around 10^6 zeros and ones if I use kotlin 1.4.20 native readLine() the std input cat pub07.in | ./alg.kexe is randomly truncated and it doesn't respect any line breaks. Any ideas?

The input files can be seen in public data sets

0 Answers
Related