summaryrefslogtreecommitdiff
path: root/src/c/elementaryFunctions/radix_conversions/dec2bin/u8dec2bina.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/c/elementaryFunctions/radix_conversions/dec2bin/u8dec2bina.c')
-rw-r--r--src/c/elementaryFunctions/radix_conversions/dec2bin/u8dec2bina.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/c/elementaryFunctions/radix_conversions/dec2bin/u8dec2bina.c b/src/c/elementaryFunctions/radix_conversions/dec2bin/u8dec2bina.c
new file mode 100644
index 0000000..87fc918
--- /dev/null
+++ b/src/c/elementaryFunctions/radix_conversions/dec2bin/u8dec2bina.c
@@ -0,0 +1,10 @@
+#include "dec2bin.h"
+
+void u8dec2bina(uint8* in,int size,int n,uint8* out)
+{
+ int i=0;
+ for(i=0;i<size;i++)
+ {
+ u8dec2bins(in[i],n,&(out[i*15]));
+ }
+}