Lines Matching defs:Header
159 // The Pickle's data has a header which contains the size of the Pickle's
160 // payload. It can optionally support additional space in the header. That
181 // Initialize a Pickle object using the default header size.
184 // Initialize a Pickle object with the specified header size in bytes, which
185 // must be greater-than-or-equal-to sizeof(Pickle::Header). The header size
186 // will be rounded up to ensure that the header size is 32bit-aligned.
191 // should be used on the Pickle when initialized this way. The header
208 // Returns the number of bytes written in the Pickle, including the header.
274 // Payload follows after allocation of Header (header size is customizable).
275 struct Header {
279 // Returns the header, cast to a user-specified type T. The type T must be a
280 // subclass of Header and its size must correspond to the header_size passed
293 // The payload is the pickle data immediately following the header.
303 // header + payload.
319 // of the header.
335 // Parse pickle header and return total size of the pickle. Data range
337 // Returns true if pickle header was found and parsed. Callers must check
339 // NOTE: when function successfully parses a header, but encounters an
353 Header* header_;
354 size_t header_size_; // Supports extra data between header and payload.
356 // doesn't count the header.
359 // the header.