Lines Matching +full:data +full:- +full:size
16 * The console data is the buffer that holds the data that comes from the host
24 /** @brief Get the current size of the host console buffer.
26 * @return size of the host console buffer.
28 auto size() const noexcept in size() function in sol::ConsoleData
30 return data.size(); in size()
33 /** @brief Read host console data.
35 * This API would return the iterator to the read data from the
36 * console data buffer.
38 * @return iterator to read data from the buffer
42 return data.cbegin(); in read()
45 /** @brief Write host console data.
47 * This API would append the input data to the host console buffer.
49 * @param[in] input - data to be written to the console buffer.
53 data.insert(data.end(), input.begin(), input.end()); in write()
58 * @param[in] size - the number of bytes to be erased from the console
62 * then the available size is erased.
64 void erase(size_t size) noexcept in erase() argument
66 data.erase(data.begin(), data.begin() + std::min(data.size(), size)); in erase()
70 /** @brief Storage for host console data. */
71 ConsoleBuffer data; member in sol::ConsoleData