public static uint GetType(string s)
        {
            if (s.Length != 4)
            {
                throw new ArgumentOutOfRangeException();
            }

            byte[] bytes = OrderBytesInBigEndian(ISO88591.GetBytes(s));

            return(BitConverter.ToUInt32(bytes, 0));
        }
 public static string GetTypeAsString(uint type)
 {
     return(ISO88591.GetString(OrderBytesInBigEndian(BitConverter.GetBytes(type))));
 }