MCPcopy Create free account
hub / github.com/CobaltFusion/DebugViewPP / IsValidCompressedBuffer

Function IsValidCompressedBuffer

Libraries/snappy/snappy.cc:1276–1280  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1274};
1275
1276bool IsValidCompressedBuffer(const char* compressed, size_t n) {
1277 ByteArraySource reader(compressed, n);
1278 SnappyDecompressionValidator writer;
1279 return InternalUncompress(&reader, &writer);
1280}
1281
1282void RawCompress(const char* input,
1283 size_t input_length,

Callers 1

Calls 1

InternalUncompressFunction · 0.85

Tested by

no test coverage detected