Function bsn1::contents::to_integer [−][src]
Expand description
Parses bytes as a contents of Integer.
Type T should be the builtin primitive integer types (e.g., u8, u32, isize, i128, …)
This function is common for BER, DER, and CER.
Wargnings
This function assumes that the CPU adopts 2’s complement to represent negative value.