ConfigMemorySize

An immutable class representing an amount of memory. Use static factory methods such as [[ConfigMemorySize#ofBytes]] to create instances.

An immutable class representing an amount of memory. Use static factory methods such as [[ConfigMemorySize#ofBytes]] to create instances.

Since

1.3.0

Companion
class
class Object
trait Matchable
class Any

Value members

Concrete methods

def ofBytes(bytes: Long): ConfigMemorySize

Constructs a ConfigMemorySize representing the given number of bytes.

Constructs a ConfigMemorySize representing the given number of bytes.

Value Params
bytes

a number of bytes

Returns

an instance representing the number of bytes

Since

1.3.0