static private GetTagInt ( string tag ) : int | ||
tag | string | |
return | int |
static int GetTagInt(string tag)
{
byte[] tagBytes=Encoding.UTF8.GetBytes(tag);
Array.Reverse(tagBytes);
return BitConverter.ToInt32(tagBytes, 0);
}