| 88 | } |
| 89 | |
| 90 | void FixChecksum(int header_offset, int len) { |
| 91 | // Compute crc of type/len/data |
| 92 | uint32_t crc = crc32c::Value(&dest_.contents_[header_offset + 6], 1 + len); |
| 93 | crc = crc32c::Mask(crc); |
| 94 | EncodeFixed32(&dest_.contents_[header_offset], crc); |
| 95 | } |
| 96 | |
| 97 | void ForceError() { source_.force_error_ = true; } |
| 98 |
nothing calls this directly
no test coverage detected