SNAPKITTYWEST's picture
push from SNAPKITTYWEST/hyperkitty-constraint-dsl
224e773 verified
Raw
History Blame Contribute Delete
252 Bytes
/// Decode module — delegates to WormRecord::from_bytes()
use crate::record::WormRecord;
/// Deserialize a WormRecord from a byte slice.
pub fn decode_record(bytes: &[u8]) -> hyperkitty_core::Result<WormRecord> {
WormRecord::from_bytes(bytes)
}