Lines Matching refs:bytes
111 /// platforms. I/O operations always return promptly; if fewer bytes are
112 /// promptly available than requested, they return the number of bytes promptly
120 /// When the source of a `read` is binary data, the bytes from the source
122 /// implementation to be text, bytes containing the UTF-8 encoding of the
125 /// This function returns a list of bytes containing the read data,
126 /// when successful. The returned list will contain up to `len` bytes;
128 /// empty when no bytes are available for reading at this time. The
129 /// pollable given by `subscribe` will be ready when more bytes are
137 /// read 0 bytes. If the stream is still open, this call should
142 /// as a return value by the callee. The callee may return a list of bytes
143 /// less than `len` in size while more bytes are available for reading.
146 /// Read bytes from a stream, after blocking until at least one byte can
150 /// Skip bytes from a stream. Returns number of bytes skipped.
153 /// of bytes, returns the number of bytes consumed from the stream.
156 /// Skip bytes from a stream, after blocking until at least one byte
161 /// has bytes available to read or the other end of the stream has been
174 /// always return promptly, after the number of bytes that can be written
186 /// Returns the number of bytes permitted for the next call to `write`,
187 /// or an error. Calling `write` with more bytes than this function has
190 /// When this function returns 0 bytes, the `subscribe` pollable will
197 /// When the destination of a `write` is binary data, the bytes from
199 /// known to the implementation to be text, the bytes of `contents` are
210 /// Perform a write of up to 4096 bytes, and then flush the stream. Block
268 /// passing a list of bytes, you simply pass the number of zero-bytes
309 /// This function returns the number of bytes transferred; it may be less