remov function

This commit is contained in:
iceman1001 2017-12-23 11:24:10 +01:00
commit 77bc60bc52
2 changed files with 6 additions and 23 deletions

View file

@ -7,17 +7,8 @@
//-----------------------------------------------------------------------------
// utilities
//-----------------------------------------------------------------------------
#include "util.h"
#include <stdint.h>
#include <string.h>
#include <ctype.h>
#include <stdlib.h>
#include <stdio.h>
#include <time.h>
#include "data.h"
#ifdef _WIN32
#include <windows.h>
#endif
@ -372,17 +363,6 @@ void SwapEndian64ex(const uint8_t *src, const size_t len, const uint8_t blockSiz
}
}
// array must be size dividable with 8
uint8_t bits_to_array(const uint8_t *bits, size_t size, uint8_t *dest) {
if ( (size == 0) || (size % 8) != 0) return 0;
for(uint32_t i = 0; i < (size / 8); i++)
dest[i] = bytebits_to_byte((uint8_t *) bits + (i * 8), 8);
return 0;
}
// -------------------------------------------------------------------------
// string parameters lib
// -------------------------------------------------------------------------