X-Git-Url: https://harrygodden.com/git/?p=vg.git;a=blobdiff_plain;f=vg_binstr.c;fp=vg_binstr.c;h=7d9ac83575e0d5636f00c2d15fad353e313176e7;hp=0000000000000000000000000000000000000000;hb=3b14f3dcd5bf9dd3c85144f2123d667bfa4bb63f;hpb=fce86711735b15bff37de0f70716808410fcf269 diff --git a/vg_binstr.c b/vg_binstr.c new file mode 100644 index 0000000..7d9ac83 --- /dev/null +++ b/vg_binstr.c @@ -0,0 +1,23 @@ +#include "vg/vg_binstr.h" + +void vg_str_bin( const void *txt, void *bin, int size ) +{ + const u8 *src = txt; + u8 *dst = bin; + + for( u32 i=0; i>4u) & 0xf); + } +}