Analogic\ACME\Base64UrlSafeEncoder::decode PHP Метод

decode() публичный статический метод

public static decode ( $input )
    public static function decode($input)
    {
        $remainder = strlen($input) % 4;
        if ($remainder) {
            $padlen = 4 - $remainder;
            $input .= str_repeat('=', $padlen);
        }
        return base64_decode(strtr($input, '-_', '+/'));
    }
Base64UrlSafeEncoder