Example of passing a static array of bytes from SystemVerilog to C via DPI

In reply to dnguyen82us:

Can you show the SystemVerilog code which will be calling the DPI? And what does the C function look like which will be processing the data?