| 334 | } |
| 335 | |
| 336 | bool Snappy_GetUncompressedLength(const char* input, size_t length, |
| 337 | size_t* result) { |
| 338 | #ifdef TF_USE_SNAPPY |
| 339 | return snappy::GetUncompressedLength(input, length, result); |
| 340 | #else |
| 341 | return false; |
| 342 | #endif |
| 343 | } |
| 344 | |
| 345 | bool Snappy_Uncompress(const char* input, size_t length, char* output) { |
| 346 | #ifdef TF_USE_SNAPPY |