pub fn deserialize<'de, D: Deserializer<'de>>( deserializer: D, ) -> Result<ByteSize, D::Error>
Reads the quantity from an integer in this module’s unit.
If the value is not an integer of the underlying width.