Lines Matching refs:read
157 /** DataEvent to read data from vnc */
216 * @param buf the data to read
217 * @param len the amount of data to read
218 * @return whether the read was successful
220 bool read(uint8_t *buf, size_t len);
223 * assert that we read enough bytes. This function exists to handle
224 * reading all of the protocol structs above when we've already read
226 * @param buf the address of the buffer to add one to and read data into
227 * @param len the amount of data + 1 to read
228 * @return whether the read was successful.
233 /** Templated version of the read function above to
234 * read simple data to the client
237 template <typename T> bool read(T* val);