Build the composite op key: `[name_len: u8][name: bytes][hlc: 18]`.
(array: &str, hlc: Hlc)
| 42 | |
| 43 | /// Build the composite op key: `[name_len: u8][name: bytes][hlc: 18]`. |
| 44 | fn op_key(array: &str, hlc: Hlc) -> Option<Vec<u8>> { |
| 45 | let mut key = name_prefix(array)?; |
| 46 | key.extend_from_slice(&hlc.to_bytes()); |
| 47 | Some(key) |
| 48 | } |
| 49 | |
| 50 | /// Parse the HLC from the tail of a composite key. |
| 51 | /// |
no test coverage detected