pub fn hex_to_bytes(hex: &str) -> Result<Uint8Array, String>Expand description
Convert hexadecimal string to bytes
This function provides secure hex decoding for WASM:
- Validates hex string format
- Handles errors gracefully
- Returns Uint8Array
pub fn hex_to_bytes(hex: &str) -> Result<Uint8Array, String>Convert hexadecimal string to bytes
This function provides secure hex decoding for WASM: