std :: io_traits
#include <std/io_traits.h> source
#include <std/io_traits.h>
trait Reader { long long read([]unsigned char buf); }
long long read([]unsigned char buf)
Reads at most buf.len bytes into buf. Returns the count read, 0 at end of stream, -1 on error. May return fewer than buf.len before the end.