code: public static byte[] getBytesFromLong(final long value) {
          final byte[] tempArray = new byte[8];
  
          for (int m = 0; m < 8; m++) {
              tempArray[7 - m] = (byte) ((value >> (8 * m)) & 0xFF);
          }
  
          return tempArray;
      }
docs: Returns a byte array that represents the data of a <code>long</code> value.
  
  @param value
  The value from which the byte array will be returned.
  
  @return A byte array that represents the data of the specified <code>long</code> value.