Home | History | Annotate | Download | only in base

Lines Matching refs:Header

119 // The Pickle's data has a header which contains the size of the Pickle's
120 // payload. It can optionally support additional space in the header. That
126 // Initialize a Pickle object using the default header size.
129 // Initialize a Pickle object with the specified header size in bytes, which
130 // must be greater-than-or-equal-to sizeof(Pickle::Header). The header size
131 // will be rounded up to ensure that the header size is 32bit-aligned.
136 // should be used on the Pickle when initialized this way. The header
153 // Returns the number of bytes written in the Pickle, including the header.
214 // Payload follows after allocation of Header (header size is customizable).
215 struct Header {
219 // Returns the header, cast to a user-specified type T. The type T must be a
220 // subclass of Header and its size must correspond to the header_size passed
233 // The payload is the pickle data immediately following the header.
243 // header + payload.
259 // of the header.
275 // Parse pickle header and return total size of the pickle. Data range
277 // Returns true if pickle header was found and parsed. Callers must check
279 // NOTE: when function successfully parses a header, but encounters an
293 Header* header_;
294 size_t header_size_; // Supports extra data between header and payload.
296 // doesn't count the header.
299 // the header.