pub fn decode(data: &[u8]) -> Result<JournalSegment, ChangesetError>Expand description
Decode a sealed journal segment from bytes.
Handles both raw and compressed bodies. Verifies body checksum, per-entry CRC32C, and SHA-256 chain.
pub fn decode(data: &[u8]) -> Result<JournalSegment, ChangesetError>Decode a sealed journal segment from bytes.
Handles both raw and compressed bodies. Verifies body checksum, per-entry CRC32C, and SHA-256 chain.