Class ByteValue

java.lang.Object
io.camunda.zeebe.util.ByteValue

public final class ByteValue extends Object
  • Constructor Details

    • ByteValue

      public ByteValue()
  • Method Details

    • ofKilobytes

      public static long ofKilobytes(long value)
      Converts the value kilobytes into bytes
      Parameters:
      value - value in kilobytes
      Returns:
      value converted into bytes
    • ofMegabytes

      public static long ofMegabytes(long value)
      Converts the value megabytes into bytes
      Parameters:
      value - value in megabytes
      Returns:
      value converted into bytes
    • ofGigabytes

      public static long ofGigabytes(long value)
      Converts the value gigabytes into bytes
      Parameters:
      value - value in gigabytes
      Returns:
      value converted into bytes
    • prettyPrint

      public static String prettyPrint(long bytes)