InformationSize.fromBytes constructor
InformationSize.fromBytes(
- Rational bytes
Creates an InformationSize representing the specified number of bytes
.
Implementation
factory InformationSize.fromBytes(Rational bytes) =>
InformationSize.fromUnits(InformationUnit.byte, bytes);