std1.0.0-beta-7 SafeC docs

std :: io_traits

Function std::stream_size

#include <std/io_traits.h> source

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.