File size: 252 Bytes
224e773
 
 
 
 
 
 
1
2
3
4
5
6
7
8
/// 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)
}