16 lines
391 B
C
16 lines
391 B
C
//
|
|
// Created by bruno on 4/29/25.
|
|
//
|
|
|
|
#ifndef CANDASH_BASE_H
|
|
#define CANDASH_BASE_H
|
|
|
|
#include <stddef.h>
|
|
|
|
void hex_dump(const unsigned char *data, size_t len);
|
|
int base64_decode(const char *in, unsigned char *out, size_t *out_len);
|
|
extern const unsigned char dtable[256];
|
|
void init_crc32_table(void);
|
|
uint32_t crc32_le(uint32_t crc, const uint8_t *buf, size_t len);
|
|
#endif //CANDASH_BASE_H
|