Lines Matching full:stream
44 * @class Stream
49 class Stream class
52 Stream() = delete;
53 ~Stream() = default;
54 Stream(const Stream&) = default;
55 Stream& operator=(const Stream&) = default;
56 Stream(Stream&&) = default;
57 Stream& operator=(Stream&&) = default;
64 explicit Stream(std::vector<uint8_t>& data) : _data(data), _offset(0) {} in Stream() function in attn::pel::Stream
72 Stream(std::vector<uint8_t>& data, std::size_t offset) : in Stream() function in attn::pel::Stream
85 * @return Stream&
87 Stream& operator>>(uint8_t& value) in operator >>()
97 * @return Stream&
99 Stream& operator>>(char& value) in operator >>()
109 * @return Stream&
111 Stream& operator>>(uint16_t& value) in operator >>()
122 * @return Stream&
124 Stream& operator>>(uint32_t& value) in operator >>()
135 * @return Stream&
137 Stream& operator>>(uint64_t& value) in operator >>()
150 * @return Stream&
152 Stream& operator>>(std::vector<uint8_t>& value) in operator >>()
167 * @return Stream&
169 Stream& operator>>(std::vector<char>& value) in operator >>()
181 * @param[in] value - the value to write to the stream
182 * @return Stream&
184 Stream& operator<<(uint8_t value) in operator <<()
193 * @param[in] value - the value to write to the stream
194 * @return Stream&
196 Stream& operator<<(char value) in operator <<()
205 * @param[in] value - the value to write to the stream
206 * @return Stream&
208 Stream& operator<<(uint16_t value) in operator <<()
218 * @param[in] value - the value to write to the stream
219 * @return Stream&
221 Stream& operator<<(uint32_t value) in operator <<()
231 * @param[in] value - the value to write to the stream
232 * @return Stream&
234 Stream& operator<<(uint64_t value) in operator <<()
244 * The full vector is written to the stream.
246 * @param[in] value - the value to write to the stream
247 * @return Stream&
249 Stream& operator<<(const std::vector<uint8_t>& value) in operator <<()
261 * The full vector is written to the stream.
263 * @param[in] value - the value to write to the stream
264 * @return Stream&
266 Stream& operator<<(const std::vector<char>& value) in operator <<()
276 * @brief Sets the offset of the stream
291 * @brief Returns the current offset of the stream
313 * @brief Reads a specified number of bytes out of a stream
326 * @brief Writes a specified number of bytes into the stream
352 std::string msg{"Attempted stream overflow: offset "}; in rangeCheck()
361 * @brief The data that the stream accesses.
366 * @brief The current offset of the stream.