Aegisub/vendor/luabins/test/util.c
2022-09-27 16:54:15 +02:00

17 lines
271 B
C

/*
* util.c
* Luabins test utilities
* See copyright notice in luabins.h
*/
#include "util.h"
void fprintbuf(FILE * out, const unsigned char * b, size_t len)
{
size_t i = 0;
for (i = 0; i < len; ++i)
{
fprintf(out, "%02X ", b[i]);
}
fprintf(out, "\n");
}