pub(crate) fn decode_raw_entry(raw_entry: Entry) -> Result<(EntryId, WalEntry)>
Decodes the [Entry] into [WalEntry].
The caller must ensure the [Entry] is complete.