Enables or disables meta string compression. # Arguments `compress_string` - If `true`, enables meta string compression to reduce serialized payload size by deduplicating and encoding frequently used strings (such as type names and field names). If `false`, strings are serialized without compression. # Returns Returns `self` for method chaining. # Default The default value is `false`. # Tra
(mut self, compress_string: bool)
| 174 | /// let fory = Fory::builder().compress_string(true).build(); |
| 175 | /// ``` |
| 176 | pub fn compress_string(mut self, compress_string: bool) -> Self { |
| 177 | self.config.compress_string = compress_string; |
| 178 | self |
| 179 | } |
| 180 | |
| 181 | /// Enables or disables checked UTF-8 string reads. |
| 182 | /// |
no outgoing calls