x8632e8b92c54e123.cs
上传用户:xlxx0122
上传日期:2015-04-24
资源大小:3904k
文件大小:1k
源码类别:

.net编程

开发平台:

C#

  1. namespace Sunisoft.IrisSkin
  2. {
  3.     using System;
  4.     using System.Runtime.InteropServices;
  5.     using System.Text;
  6.     [StructLayout(LayoutKind.Sequential, Pack=1)]
  7.     internal struct x8632e8b92c54e123
  8.     {
  9.         [MarshalAs(UnmanagedType.ByValArray, SizeConst=0x40)]
  10.         public byte[] NodeKey;
  11.         public byte NodeType;
  12.         public uint NodeStart;
  13.         public uint NodeSize;
  14.         public uint NextNode;
  15.         public xab0f0a5b63c83169 Type
  16.         {
  17.             get
  18.             {
  19.                 switch (this.NodeType)
  20.                 {
  21.                     case 1:
  22.                         return xab0f0a5b63c83169.Int;
  23.                     case 2:
  24.                         return xab0f0a5b63c83169.Bool;
  25.                     case 3:
  26.                         return xab0f0a5b63c83169.Str;
  27.                 }
  28.                 return xab0f0a5b63c83169.Stream;
  29.             }
  30.         }
  31.         public string Key
  32.         {
  33.             get
  34.             {
  35.                 return Encoding.Default.GetString(this.NodeKey, 0, this.NodeKey.Length).TrimEnd(new char[1]);
  36.             }
  37.         }
  38.     }
  39. }