Exemplo n.º 1
0
		public override void WriteSetBegin(TSet set)
		{
			WriteByte((byte) set.ElementType);
			WriteI32(set.Count);
		}
Exemplo n.º 2
0
		public override TSet ReadSetBegin()
		{
			var set = new TSet();
			set.ElementType = (TType) ReadByte();
			set.Count = ReadI32();

			return set;
		}
Exemplo n.º 3
0
		public abstract void WriteSetBegin(TSet set);
Exemplo n.º 4
0
		public override TSet ReadSetBegin()
		{
			var set = new TSet();
			ReadJSONArrayStart();
			set.ElementType = GetTypeIDForTypeName(ReadJSONString(false));
			set.Count = (int) ReadJSONInteger();
			return set;
		}
Exemplo n.º 5
0
		public override void WriteSetBegin(TSet set)
		{
			WriteJSONArrayStart();
			WriteJSONString(GetTypeNameForTypeID(set.ElementType));
			WriteJSONInteger(set.Count);
		}
 /**
  * Write a set header.
  */
 public override void WriteSetBegin(TSet set)
 {
     WriteCollectionBegin(set.ElementType, set.Count);
 }
Exemplo n.º 7
0
 /**
  * Write a set header.
  */
 public override void WriteSetBegin(TSet set)
 {
     WriteCollectionBegin(set.ElementType, set.Count);
 }