static public function getPrefixFromId($networkId)
    {
        foreach (self::$networkInfos as $name => $spec) {
            if ($networkId === $spec['id'])
                return $spec['hex'];
        }

        throw new NISInvalidNetworkId("Network Id '" . $networkId . "' is invalid.");
    }
static public function getPrefixFromId($networkId)
    {
        foreach (self::$networkInfos as $name => $spec) {
            if ($networkId === $spec['id'])
                return $spec['hex'];
        }

        throw new NISInvalidNetworkId("Network Id '" . $networkId . "' is invalid.");
    }
static public function getPrefixFromId ( $ networkId ) { foreach ( self :: $ networkInfos as $ name => $ spec ) { if ( $ networkId === $ spec [ 'id' ] ) return $ spec [ 'hex' ] ; } throw new NISInvalidNetworkId ( "Network Id '" . $ networkId . "' is invalid." ) ; }
Helper to get a network address prefix hexadecimal representation
from a network id.

@param   integer     $networkId
@return  string
Helper to get a network address prefix hexadecimal representation from a network id .