On 3/28/2014 3:42 AM, Steven Schveighoffer wrote: >> I'm also curious what a generic read() should do when the stream is empty. > > Returns 0 elements read. Meaning it must also write through a pointer if it did read something. How is that faster than a 1 element buffer?