⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 iso8859.cs

📁 random generated with entropy computing
💻 CS
字号:
using System;

namespace entropy
{
	/// <summary>
	/// Summary description for iso8859.
	/// </summary>
	public sealed class iso8859
	{
		/* ISO 8859/1 Latin-1 alphabetic and upper and lower case bit vector tables. */		/* LINTLIBRARY */		char[] isoalpha = new char[32] {0,0,0,0,0,0,0,0,127,255,255,224,127,255,255,224,0,0,0,0,0,0,0,0,255,255,254,255,255,255,254,255};		char[] isoupper =  new char[32] {0,0,0,0,0,0,0,0,127,255,255,224,0,0,0,0,0,0,0,0,0,0,0,0,255,255,254,254,0,0,0,0};		char[] isolower = new char[32] 	{0,0,0,0,0,0,0,0,0,0,0,0,127,255,255,224,0,0,0,0,0,0,0,0,0,0,0,1,255,255,254,255};				public static bool isascii(char x) 
		{			return (x < 0x80);		}		public static bool isISOspace(char x)		{			return ((isascii(x) && isspace(x)) || (x == 0xA0));		}		public static bool isISOalpha(char x)		{			return ((isoalpha[(x / 8)] & (0x80 >> ((x % 8) != 0))));		}		public static bool isISOupper(char x)		{			return ((isoupper[(x / 8)] & (0x80 >> ((x % 8) != 0))));		}		public static bool isISOlower(char x)		{			return ((isolower[(x / 8)] & (0x80 >> (x % 8))) != 0);		}		public static bool isISOprint(char x)		{			return ((((x) >= ' ') && ((x) <= '~')) || ((x) >= 0xA0));		}		public static bool toISOupper(char x)		{			return (isISOlower(x) ? (isascii(((char) (x))) ? toupper(x) : (((((char) (x)) != 0xDF) && (((char) (x)) != 0xFF)) ? (((char) (x)) - 0x20) : (x))) : (x));		}		public static bool toISOlower(char x)		{			return (isISOupper(x) ? (isascii(((char) (x))) ?  tolower(x) : (((char) (x)) + 0x20)) : (x));		}
	}
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -