Legacy method for backward compatibility
(bytes: &[u8])
| 201 | |
| 202 | /// Legacy method for backward compatibility |
| 203 | pub fn parse_from_bytes_legacy(bytes: &[u8]) -> Result<String, ParseContractError> { |
| 204 | Self::parse_from_bytes(bytes).map(|parsed| parsed.name) |
| 205 | } |
| 206 | |
| 207 | /// Legacy method for backward compatibility |
| 208 | pub fn parse_from_hex_str_legacy(err: &str) -> Result<String, ParseContractError> { |
nothing calls this directly
no outgoing calls
no test coverage detected