Internal changes
PiperOrigin-RevId: 631425350
This commit is contained in:
@@ -1775,13 +1775,12 @@ static bool InternalUncompressAllTags(SnappyDecompressor* decompressor,
|
|||||||
Writer* writer, uint32_t compressed_len,
|
Writer* writer, uint32_t compressed_len,
|
||||||
uint32_t uncompressed_len) {
|
uint32_t uncompressed_len) {
|
||||||
int token = 0;
|
int token = 0;
|
||||||
Report(token, "snappy_uncompress", compressed_len, uncompressed_len);
|
|
||||||
|
|
||||||
writer->SetExpectedLength(uncompressed_len);
|
writer->SetExpectedLength(uncompressed_len);
|
||||||
|
|
||||||
// Process the entire input
|
// Process the entire input
|
||||||
decompressor->DecompressAllTags(writer);
|
decompressor->DecompressAllTags(writer);
|
||||||
writer->Flush();
|
writer->Flush();
|
||||||
|
Report(token, "snappy_uncompress", compressed_len, uncompressed_len);
|
||||||
return (decompressor->eof() && writer->CheckLength());
|
return (decompressor->eof() && writer->CheckLength());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user