Loading...
Searching...
No Matches
iso13239_crc.h
1#pragma once
2
3#include <stdint.h>
4#include <stddef.h>
5
7
8#ifdef __cplusplus
9extern "C" {
10#endif
11
12#define ISO13239_CRC_SIZE sizeof(uint16_t)
13
14typedef enum {
15 Iso13239CrcTypeDefault,
16 Iso13239CrcTypePicopass,
17} Iso13239CrcType;
18
19void iso13239_crc_append(Iso13239CrcType type, BitBuffer* buf);
20
21bool iso13239_crc_check(Iso13239CrcType type, const BitBuffer* buf);
22
23void iso13239_crc_trim(BitBuffer* buf);
24
25#ifdef __cplusplus
26}
27#endif
Bit Buffer.
Definition bit_buffer.c:7