pub fn parse_index_lock(bytes: &[u8]) -> Result<IndexLockRecord, RecoveryError>Expand description
What:
Parse index-lock-<n>.json.
Why:
The incumbent’s parseIndexLockRecord.
In TS you’d write (pseudocode):
function parseIndexLockRecord(bytes: Uint8Array): IndexLockRecord;