Function apply
Source pub fn apply(rva: usize, hex_str: &str) -> Result<Patch, PatchError>
Expand description
Applies a hex string patch at a relative virtual address (RVA)
§Arguments
rva - The relative virtual address to patch
hex_str - The hex string representing the bytes to write
§Returns
Result<Patch, PatchError> - The applied patch or an error