Objective
Read a file descriptor to its end and report how many bytes and logical lines it contained.
Steps
$ stream_stats on a stream containing `red\nblue`
bytes=8 lines=2
$ stream_stats on an empty stream
bytes=0 lines=0
Expected files
Allowed functions
Allowed headers

Objective
Read a file descriptor to its end and report how many bytes and logical lines it contained.
Steps
$ stream_stats on a stream containing `red\nblue`
bytes=8 lines=2
$ stream_stats on an empty stream
bytes=0 lines=0
Expected files
Allowed functions
Allowed headers

Tests
Run the tests to grade your code