mirror of
https://github.com/d4rken-org/capod.git
synced 2026-09-14 18:26:11 -04:00
This commit introduces a new helper function `fromHex()` that converts a HEX string (with optional separators like spaces or hyphens) into a byte array. It also adds a corresponding `toHex()` function for converting a byte array to a HEX string. These helpers are now used in various parts of the codebase, including: - Fake BLE data generation - AirPod key input dialog - RPA checker tests - BaseAirPodsTest Additionally, a unit test for these conversion functions has been added.