Trait Readpub
Source:trait(pub) Read
.read ( Self Bytes → Self AnyUInt )
Description
Read — fills a caller-supplied byte buffer from the underlying source. .read returns the handle threaded through and the number of bytes read; a return of 0 means end-of-stream. Effect-polymorphic: in-memory readers carry no effect, file-backed handles carry +FileSystem, network handles carry +Tcp/+Udp.