InformationSize.fromBits constructor
InformationSize.fromBits(
- Rational bits
Creates an InformationSize representing the specified number of bits
.
Implementation
factory InformationSize.fromBits(Rational bits) =>
InformationSize.fromUnits(InformationUnit.bit, bits);