ByteConverter class
Constructors
- ByteConverter(double _bytes)
- ByteConverter.withBits(int _bits)
Properties
Methods
-
add(
ByteConverter value) → ByteConverter -
addBytes(
double value) → ByteConverter -
addGibiBytes(
double value) → ByteConverter -
addGigaBytes(
double value) → ByteConverter -
addKibiBytes(
double value) → ByteConverter -
addKiloBytes(
double value) → ByteConverter -
addMebiBytes(
double value) → ByteConverter -
addMegaBytes(
double value) → ByteConverter -
addPebiBytes(
double value) → ByteConverter -
addPetaBytes(
double value) → ByteConverter -
addTebiBytes(
double value) → ByteConverter -
addTeraBytes(
double value) → ByteConverter -
asBytes(
{int precision = 2}) → double -
compareTo(
ByteConverter instance) → int -
isEqualTo(
ByteConverter instance) → bool -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
subtract(
ByteConverter value) → ByteConverter -
toHumanReadable(
SizeUnit unit, {int precision = 2}) → String -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator +(
ByteConverter instance) → ByteConverter -
operator -(
ByteConverter instance) → ByteConverter -
operator <(
ByteConverter instance) → bool -
operator <=(
ByteConverter instance) → bool -
operator ==(
Object other) → bool -
The equality operator.
inherited
-
operator >(
ByteConverter instance) → bool -
operator >=(
ByteConverter instance) → bool
Static Methods
-
compare(
ByteConverter a, ByteConverter b) → int -
fromBits(
int value) → ByteConverter -
fromBytes(
double value) → ByteConverter -
fromGibiBytes(
double value) → ByteConverter -
fromGigaBytes(
double value) → ByteConverter -
fromKibiBytes(
double value) → ByteConverter -
fromKiloBytes(
double value) → ByteConverter -
fromMebiBytes(
double value) → ByteConverter -
fromMegaBytes(
double value) → ByteConverter -
fromPebiBytes(
double value) → ByteConverter -
fromPetaBytes(
double value) → ByteConverter -
fromTebiBytes(
double value) → ByteConverter -
fromTeraBytes(
double value) → ByteConverter -
isEqual(
ByteConverter a, ByteConverter b) → bool