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

11 lines (10 loc) 518 B
/** * Utility function for unloading the raw contents of a DBC file into a string that can * then be passed to the .load function provided by the Dbc class. * * @param file File to unload * @param onLoad Optional callback function that can be provided that will be called after * file has been loaded. Function is provided the raw contents of the file so that it can be used * in the callback */ export declare const dbcReader: (file: File, onLoad?: ((content: string) => void) | undefined) => void;