Home | History | Annotate | Download | only in base

Lines Matching defs:bytes

40     // A block of bytes to be sent in chunked encoding immediately, without
57 const std::vector<char>& bytes() const { return bytes_; }
67 void SetToBytes(const char* bytes, int bytes_len) {
69 bytes_.assign(bytes, bytes + bytes_len);
96 // Though similar to bytes, a chunk indicates that the element is sent via
99 void SetToChunk(const char* bytes, int bytes_len, bool is_last_chunk);
145 void AppendBytes(const char* bytes, int bytes_len);
155 // Adds the given chunk of bytes to be sent immediately with chunked transfer
157 void AppendChunk(const char* bytes, int bytes_len, bool is_last_chunk);
167 // Returns the total size in bytes of the data to upload.
205 return a.bytes() == b.bytes();