Home | History | Annotate | Download | only in spdy

Lines Matching defs:SpdyFrameBuilder

20 // The SpdyFrameBuilder supports appending primitive values (int, string, etc)
21 // to a frame instance. The SpdyFrameBuilder grows its internal memory buffer
23 // buffer is exposed as the "data" of the SpdyFrameBuilder.
25 // When reading from a SpdyFrameBuilder the consumer must know what value types
26 // to read and in what order to read them as the SpdyFrameBuilder does not keep
28 class SpdyFrameBuilder {
30 SpdyFrameBuilder();
32 // Initializes a SpdyFrameBuilder from a const block of data. The data is
34 // SpdyFrameBuilder. Only const methods should be used when initialized
36 SpdyFrameBuilder(const char* data, int data_len);
38 ~SpdyFrameBuilder();
40 // Returns the size of the SpdyFrameBuilder's data.
43 // Takes the buffer from the SpdyFrameBuilder.
52 // Methods for reading the payload of the SpdyFrameBuilder. To read from the
53 // start of the SpdyFrameBuilder, initialize *iter to NULL. If successful,
63 // of the SpdyFrameBuilder payload. When reading values, you must read them
92 // Allows the caller to write data directly into the SpdyFrameBuilder.
99 // on this SpdyFrameBuilder.