diff --git a/dlc-messages/src/message_handler.rs b/dlc-messages/src/message_handler.rs index 64829f39..84759923 100644 --- a/dlc-messages/src/message_handler.rs +++ b/dlc-messages/src/message_handler.rs @@ -94,7 +94,8 @@ macro_rules! handle_read_dlc_messages { }}; } -fn read_dlc_message( +/// Parses a DLC message from a buffer. +pub fn read_dlc_message( msg_type: u16, mut buffer: &mut R, ) -> Result, DecodeError> {