Used to specify parameters when writing data into files with compression. `input_buffer_size` and `output_buffer_size` specify the input and output buffer size when ZLIB and GZIP compression is used.
| 64 | // `input_buffer_size` and `output_buffer_size` specify the input and output |
| 65 | // buffer size when ZLIB and GZIP compression is used. |
| 66 | struct CompressionParams { |
| 67 | CompressionType compression_type = CompressionType::UNCOMPRESSED; |
| 68 | int32 input_buffer_size = 0; |
| 69 | int32 output_buffer_size = 0; |
| 70 | }; |
| 71 | |
| 72 | // Writes the input data into the file without compression. |
| 73 | Status WriteDataToFile(const string& filename, const char* data); |
no outgoing calls