fn patch( key: Box<[u8]>, value: Box<[u8]>, decoded: Decoded, from: u64, to: u64, ) -> (Box<[u8]>, Box<[u8]>)