Uses of Class
no.digipost.io.DataSize
Packages that use DataSize
-
Uses of DataSize in no.digipost
Methods in no.digipost with parameters of type DataSizeModifier and TypeMethodDescriptionstatic InputStreamDiggIO.limit(InputStream inputStream, DataSize maxDataToRead) Limit the number of bytes to be read from anInputStream.static InputStreamDiggIO.limit(InputStream inputStream, DataSize maxDataToRead, Supplier<? extends Exception> throwIfTooManyBytes) Limit the number of bytes to be read from anInputStream. -
Uses of DataSize in no.digipost.io
Fields in no.digipost.io declared as DataSizeModifier and TypeFieldDescriptionstatic final DataSizeDataSize.MAXstatic final DataSizeDataSize.ZEROMethods in no.digipost.io that return DataSizeModifier and TypeMethodDescriptionstatic DataSizeDataSize.bytes(long value) static DataSizeDataSize.GB(long value) static DataSizeDataSize.kB(long value) static DataSizeDataSize.MB(long value) static DataSizeDataSize.of(long value, DataSizeUnit unit) Methods in no.digipost.io with parameters of type DataSizeModifier and TypeMethodDescriptionintbooleanDataSize.isLessThan(DataSize otherSize) booleanDataSize.isMoreThan(DataSize otherSize) booleanDataSize.isSameOrLessThan(DataSize otherSize) booleanDataSize.isSameOrMoreThan(DataSize otherSize) Constructors in no.digipost.io with parameters of type DataSizeModifierConstructorDescriptionLimitedInputStream(InputStream inputStream, DataSize maxDataToRead, Supplier<? extends Exception> throwIfTooManyBytes) -
Uses of DataSize in no.digipost.util.bisect
Methods in no.digipost.util.bisect with parameters of type DataSizeModifier and TypeMethodDescriptionstatic <T> Evaluator<T>Evaluator.size(DataSize targetSize, Evaluator.OutputStreamObjectWriter<? super T, ? super Evaluator.ByteCounter> serializer) Evaluate suggestions based on how many bytes is written from a suggestion.