Class ByteUtil

java.lang.Object
cz.drg.pregrouper.util.ByteUtil

public class ByteUtil extends Object
Utility class for byte-related operations, such as converting long and short values to byte arrays and concatenating byte arrays.
  • Constructor Details

    • ByteUtil

      public ByteUtil()
  • Method Details

    • getBytes

      public static byte[] getBytes(long value)
    • getBytes

      public static byte[] getBytes(short value)
    • concat

      public static byte[] concat(byte[] a, byte[] b)