rasn 0.28.14

A safe no_std ASN.1 codec framework.
Documentation
1
2
3
4
5
//! Module for different bit modification functions which are used in the library.

pub(crate) fn range_from_len(bit_length: u32) -> i128 {
    2i128.pow(bit_length) - 1
}