Closed osechet closed 4 years ago
The Information constructor always sets the unit to Information.bits.
Information.bits
When calling it with bytes, it considers the value to be bits:
dynamic v = Information(B: 1); print(v); -> 1 bit
The expected result here is 8 bit.
8 bit
Fixed in quantity 1.0.0 published Oct 6.
quantity 1.0.0
The Information constructor always sets the unit to
Information.bits
.When calling it with bytes, it considers the value to be bits:
The expected result here is
8 bit
.