added some helper functions
This commit is contained in:
1 parent
7320f0dd16
commit
bb5d61dca7
11 files changed
+111
-28
No files matched your search
@@ -122,6 +122,8 @@ int binarraytohex(char *target, const size_t targetlen, const char *source, size
|
||||
void binarraytobinstring(char *target, char *source, int length);
|
||||
int binstring2binarray(uint8_t *target, char *source, int length);
|
||||
|
||||
int byte_2_binstr(char *target, const uint8_t *source, size_t sourcelen);
|
||||
|
||||
uint8_t GetParity(const uint8_t *bits, uint8_t type, int length);
|
||||
void wiegand_add_parity(uint8_t *target, uint8_t *source, uint8_t length);
|
||||
void wiegand_add_parity_swapped(uint8_t *target, uint8_t *source, uint8_t length);
|
||||
|
||||
Reference in new issue
Block a user