Lines Matching defs:buffer
121 // reading data into the freshly allocated buffer (i.e. it is always followed
124 // a protocol parser may want to read data into a static buffer if it knows
127 // The returned buffer does not need to contain `suggested_size` bytes.
128 // The default implementation of this method returns a buffer that has exactly
130 // It is not valid to return a zero-length buffer from this method.
136 // been read into the buffer provided by `OnStreamAlloc()`.
137 // The `buf` argument is the return value of `uv_buf_t`, or may be a buffer
139 // `nread` is the number of read bytes (which is at most the buffer length),
204 // An alternative listener that uses a custom, user-provided buffer
212 explicit CustomBufferJSListener(uv_buf_t buffer) : buffer_(buffer) {}