package p122;

public class Tested {
    /**
     * Converts a long value into an 8-byte array in big-endian order.
     * The method processes the long value by shifting it right and masking
     * to extract each byte, starting from the most significant byte (MSB)
     * to the least significant byte (LSB).
     *
     * @param num The long value to be converted into bytes. Must be a valid long value.
     * @return An 8-byte array representing the long value in big-endian order.
     */
    public static byte[] long2Bytes(long num) {
        // TODO: implement this method
    }
}