Home | History | Annotate | Download | only in Support

Lines Matching defs:Stream

1 //===- BinaryStreamReader.h - Reads objects from a binary stream *- C++ -*-===//
34 explicit BinaryStreamReader(BinaryStreamRef Stream);
39 /// Updates the stream's offset to point after the newly read data.
45 /// Read \p Size bytes from the underlying stream at the current offset and
47 /// depends on the implementation of the underlying stream. Updates the
48 /// stream's offset to point after the newly read data.
55 /// stream's offset. The data is always copied from the stream's underlying
56 /// buffer into \p Dest. Updates the stream's offset to point after the newly
70 Bytes.data(), Stream.getEndian());
86 /// on the implementation of the underlying stream. Updates the stream's
94 /// on the implementation of the underlying stream. Updates the stream's
101 /// Read the entire remainder of the underlying stream into \p Ref. This is
103 /// stream's offset to point to the end of the stream. Never causes a copy.
109 /// Read \p Length bytes from the underlying stream into \p Ref. This is
111 /// Updates the stream's offset to point after the newly read object. Never
118 /// Get a pointer to an object of type T from the underlying stream, as if by
121 /// Updates the stream's offset to point after the newly read object. Whether
123 /// stream.
136 /// from the underlying stream as if by memcpy, and store the resulting array
138 /// type T can be safely treated in this manner. Updates the stream's offset
140 /// the implementation of the underlying stream.
167 /// \p Array. Updates the stream's offset to point after the newly read
170 /// stream).
184 /// \p Array. Updates the stream's offset to point after the newly read
187 /// stream).
213 uint32_t getLength() const { return Stream.getLength(); }
216 /// Advance the stream's offset by \p Amount bytes.
219 /// stream, otherwise returns an appropriate error code.
222 /// Examine the next byte of the underlying stream without advancing the
223 /// stream's offset. If the stream is empty the behavior is undefined.
225 /// \returns the next byte in the stream.
229 BinaryStreamRef Stream;