forked from anfema/bin-grammar
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.js
31 lines (30 loc) · 789 Bytes
/
index.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
const BinParser = require('./src/parser.js');
const {
Binary, BCD,
BitMask,
BitStruct, BitFlag, BitInt, BitUInt, BitEnum, BitBitMask,
Enum,
Float, Double,
Int, Int8, Int16, Int32,
Magic,
BinString, ASCIIInteger, ASCIIFloat,
UInt, UInt8, UInt16, UInt32,
Loop,
Selector,
CRC, CRC32, CRC24, CRC16, CRC16_CCITT, CRC16_Modbus, CRC16_Kermit, CRC16_XModem, CRC8, CRC8_1Wire, CRC8_XOR,
} = require('./src/types');
module.exports = {
BinParser,
Binary, BCD,
BitMask,
BitStruct, BitFlag, BitInt, BitUInt, BitEnum, BitBitMask,
Enum,
Float, Double,
Int, Int8, Int16, Int32,
Magic,
BinString, ASCIIInteger, ASCIIFloat,
UInt, UInt8, UInt16, UInt32,
Loop,
Selector,
CRC, CRC32, CRC24, CRC16, CRC16_CCITT, CRC16_Modbus, CRC16_Kermit, CRC16_XModem, CRC8, CRC8_1Wire, CRC8_XOR,
};