UNPKG

@yinyinfurong_zmr/dbc-can

Version:

A general purpose CAN (Controller Area Network) toolbox with support for .dbc file parsing, CAN message decoding, and more

4 lines (3 loc) 296 B
export type DataType = 'uint8' | 'int8' | 'uint16' | 'int16' | 'uint32' | 'int32' | 'uint64' | 'int64' | 'float' | 'double' | 'unknown'; export type EndianType = 'Intel' | 'Motorola'; export declare const computeDataType: (numOfBits: number, isSigned: boolean, isFloat?: boolean) => DataType;