示例#1
0
		public override void WriteListBegin(TList list)
		{
			WriteJSONArrayStart();
			WriteJSONString(GetTypeNameForTypeID(list.ElementType));
			WriteJSONInteger(list.Count);
		}
 /** 
  * Write a list header.
  */
 public override void WriteListBegin(TList list)
 {
     WriteCollectionBegin(list.ElementType, list.Count);
 }
示例#3
0
		public override TList ReadListBegin()
		{
			TList list = new TList();
			ReadJSONArrayStart();
			list.ElementType = GetTypeIDForTypeName(ReadJSONString(false));
			list.Count = (int)ReadJSONInteger();
			return list;
		}
示例#4
0
		public override TList ReadListBegin()
		{
			TList list = new TList();
			list.ElementType = (TType)ReadByte();
			list.Count = ReadI32();

			return list;
		}
示例#5
0
		public abstract void WriteListBegin(TList list);
示例#6
0
		public override void WriteListBegin(TList list)
		{
			WriteByte((sbyte)list.ElementType);
			WriteI32(list.Count);
		}
 public override void WriteListBegin(TList tList)  
 {
     WrappedProtocol.WriteListBegin(tList);
 }
示例#8
0
		public TSet(TList list)
			: this(list.ElementType, list.Count)
		{
		}
示例#9
0
 /**
  * Write a list header.
  */
 public override void WriteListBegin(TList list)
 {
     WriteCollectionBegin(list.ElementType, list.Count);
 }
示例#10
0
 public override void WriteListBegin(TList list)
 {
     WriteJSONArrayStart();
     WriteJSONString(GetTypeNameForTypeID(list.ElementType));
     WriteJSONInteger(list.Count);
 }