std :: io_traits
#include <std/io_traits.h> source
#include <std/io_traits.h>
generic<S: Seekable> long long stream_size(&S s)
The stream's length in bytes (its end offset), leaving the position where it was; -1 on error.