public int toKiB(int d) { if (d == Integer.MAX_VALUE) { return d; } return checkedCast(toKiB((long) d)); }
public int toGB(int d) { if (d == Integer.MAX_VALUE) { return d; } return checkedCast(toGB((long) d)); }
public int toMB(int d) { if (d == Integer.MAX_VALUE) { return d; } return checkedCast(toMB((long) d)); }
public int toTiB(int d) { if (d == Integer.MAX_VALUE) { return d; } return checkedCast(toTiB((long) d)); }
public int toTB(int d) { if (d == Integer.MAX_VALUE) { return d; } return checkedCast(toTB((long)d)); }
public int toPB(int d) { if (d == Integer.MAX_VALUE) { return d; } return checkedCast(toPB((long) d)); }
public int convert(int sourceValue, ByteUnit sourcePrefix) { if (sourceValue == Integer.MAX_VALUE) { return sourceValue; } return checkedCast(convert((long) sourceValue, sourcePrefix)); }
public int toBytes(int d) { if (d == Integer.MAX_VALUE) { return d; } return checkedCast(toBytes((long)d)); }
public int toGiB(int d) { if (d == Integer.MAX_VALUE) { return d; } return checkedCast(toGiB((long) d)); }
public int toEiB(int d) { if (d == Integer.MAX_VALUE) { return d; } return checkedCast(toEiB((long) d)); }
public int toKB(int d) { if (d == Integer.MAX_VALUE) { return d; } return checkedCast(toKB((long)d)); }
public int toMiB(int d) { if (d == Integer.MAX_VALUE) { return d; } return checkedCast(toMiB((long) d)); }
public int toPiB(int d) { if (d == Integer.MAX_VALUE) { return d; } return checkedCast(toPiB((long) d)); }
public int toEB(int d) { if (d == Integer.MAX_VALUE) { return d; } return checkedCast(toEB((long) d)); }