예제 #1
0
        public static void WriteView(CompactWriter writer, View v)
        {
            byte isNull = 1;

            if (v == null)
            {
                writer.Write(isNull);
            }
            else
            {
                isNull = 0;
                writer.Write(isNull);
                v.Serialize(writer);
            }
            return;
        }
예제 #2
0
파일: View.cs 프로젝트: javithalion/NCache
		public static void WriteView(CompactWriter writer, View v)
		{
			byte isNull = 1;
			if (v == null)
				writer.Write(isNull);
			else
			{
				isNull = 0;
				writer.Write(isNull);
				v.Serialize(writer);
			}
			return;
		}