toRealBytes static method

double toRealBytes(
  1. num? value,
  2. ByteUnits unit
)

Implementation

static double toRealBytes(num? value, ByteUnits unit) {
  return unit.write(value);
}