pub fn max_allocation_bytes(num_bytes: usize) -> usize {
    unsafe {
        MAX_ALLOCATION_BYTES_ONCE.call_once(|| {
            MAX_ALLOCATION_BYTES = num_bytes;
        });
        MAX_ALLOCATION_BYTES
    }
}
/// Set a new maximum number of bytes that can be allocated when decoding data.
/// Once called, the limit cannot be changed.
///
/// **NOTE** This function must be called before decoding **any** data. The
/// library leverages [`std::sync::Once`](https://doc.rust-lang.org/std/sync/struct.Once.html)
/// to set the limit either when calling this method, or when decoding for
/// the first time.
Set a new maximum number of bytes that can be allocated when decoding data.
Once called, the limit cannot be changed.


Set a new maximum number of bytes that can be allocated when decoding data . Once called the limit cannot be changed .
pub fn max_allocation_bytes(num_bytes: usize) -> usize {
    unsafe {
        MAX_ALLOCATION_BYTES_ONCE.call_once(|| {
            MAX_ALLOCATION_BYTES = num_bytes;
        });
        MAX_ALLOCATION_BYTES
    }
}
pub fn max_allocation_bytes ( num_bytes : usize ) -> usize { unsafe { MAX_ALLOCATION_BYTES_ONCE . call_once ( | | { MAX_ALLOCATION_BYTES = num_bytes ; } ) ; MAX_ALLOCATION_BYTES } }
Set a new maximum number of bytes that can be allocated when decoding data.
Set a new maximum number of bytes that can be allocated when decoding data .
num_bytes
usize