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

Function snappy_validate_compressed_buffer

Libraries/snappy/snappy-c.cc:82–89  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

80}
81
82snappy_status snappy_validate_compressed_buffer(const char *compressed,
83 size_t compressed_length) {
84 if (snappy::IsValidCompressedBuffer(compressed, compressed_length)) {
85 return SNAPPY_OK;
86 } else {
87 return SNAPPY_INVALID_INPUT;
88 }
89}
90
91} // extern "C"

Callers

nothing calls this directly

Calls 1

IsValidCompressedBufferFunction · 0.70

Tested by

no test coverage detected