How do I read a certain length of a file, starting from the beginning? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

How do I read a certain length of a file, starting from the beginning?

25th Feb 2017, 7:07 PM
Erik Johanson
Erik Johanson - avatar
2 Answers
+ 1
How answer to you if you don't specify the language? @@
26th Feb 2017, 7:55 AM
visph
visph - avatar
0
I guess you could print the number of bytes up to a single point using range
25th Feb 2017, 10:30 PM
D Wallace
D Wallace - avatar