From e335e35c9637fe6fae8515b2fba71746d6fb0030 Mon Sep 17 00:00:00 2001 From: benthecarman Date: Mon, 6 Nov 2023 22:46:41 -0600 Subject: [PATCH] Make read_dlc_message public --- dlc-messages/src/message_handler.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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> {