-
Deprecated MethodsMethodDescriptionUse
DataSize.succinct()instead. No conversion occurs when calling this method, only the unit used for the default string representation is changed. This has no effect on the unit used during JSON serializationUseDataSize.toBytes()instead to avoid floating point precision semanticsUseDataSize.toBytes()instead to avoid floating point precision semanticsUseDataSize.toBytes()instead. This method uses floating point semantics to compute the rounded value which can yield to unexpected loss of precision beyond the intended roundinguseDataSize.succinctBytes(long)instead, double values are imprecise
-
Deprecated ConstructorsConstructorDescriptionUse
DataSize.of(long, Unit)instead. The imprecise nature of using doubles for DataSize is deprecated for removal
DataSize.to(Unit)instead. No conversion occurs when calling this method, only the unit used for the default string representation is changed. This has no effect on the unit used during JSON serialization