Availability:built-in
byte_count(+Stream,
-Count)Byte position in Stream. For binary streams this is the same
as character_count/2.
For text files the number may be different due to multi-byte encodings
or additional record separators (such as Control-M in Windows).