| 80 | } |
| 81 | |
| 82 | snappy_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" |
nothing calls this directly
no test coverage detected