Skip to content

Latest commit

 

History

History
10 lines (7 loc) · 176 Bytes

README.md

File metadata and controls

10 lines (7 loc) · 176 Bytes

Reading from a file

There are various way to iterate over a file. Let's compare various variants.

  • unbuffered Read()
  • buffered Read()
  • Scanner
  • ReadString
  • ReadBytes