Function radius_rust::tools::ipv6_string_to_bytes[][src]

pub fn ipv6_string_to_bytes(ipv6: &str) -> Result<Vec<u8>, RadiusError>

Converts IPv6 Address string into vector of bytes

Should be used for any Attribute of type ipv6addr or ipv6prefix to ensure value is encoded correctly