pub fn encode_message_id(id: &str) -> [u8; 32]Expand description
Encode an ID string to 32 bytes, handling pending IDs specially.
- Pending IDs (“pending-{nanoseconds}”) are encoded as marker byte + timestamp + sentinel tail
- Regular hex IDs are decoded normally