public override TArray ReadArrayBegin() { TArray array = new TArray(); array.ElementType = (TType)ReadByte(); array.Count = ReadI32(); return array; }
public override void WriteArrayBegin(TArray array) { WriteByte((byte)array.ElementType); WriteI32(array.Count); }
/** * Write a array header. */ public override void WriteArrayBegin(TArray array) { WriteCollectionBegin(array.ElementType, array.Count); }
public override void WriteArrayBegin(TArray array) { WriteJSONArrayStart(); WriteJSONString(GetTypeNameForTypeID(array.ElementType)); WriteJSONInteger(array.Count); }
public override TArray ReadArrayBegin() { TArray array = new TArray(); ReadJSONArrayStart(); array.ElementType = GetTypeIDForTypeName(ReadJSONString(false)); array.Count = (int)ReadJSONInteger(); return array; }
public abstract void WriteArrayBegin(TArray array);