Function par_stream::get_buf_size_scale
source · [−]pub fn get_buf_size_scale() -> f64
Expand description
Gets the global scaling factor for buffer size.
If set_buf_size_scale was not called before, it returns DEFAULT_BUF_SIZE_SCALE. Otherwise it returns the value accordingly.
Note that calling this function causes future calls to set_buf_size_scale to fail.