Like decode, but returns null instead of throwing on invalid input.
BuBytes? tryDecode(String hexStr) { try { return decode(hexStr); } catch (_) { return null; } }