public override void FlushTo(Allocator context, int level) { if (this.data == null) { return; } for (var i = 0; i < this.data.Count; i++) { context.AppendTokenExtend(this.data[i], level); } }
public override void FlushTo(Allocator context, int level) { if (this.data == null) { return; } foreach (var i in this.data) { context.AppendKey(i.Key); context.AppendTokenExtend(i.Value.token, level); } }
public override void FlushTo(Allocator context, int level) { if (this.data == null) { return; } for (var i = 0; i < this.data.Count; i++) { var item = this.data[i]; if (this.indexLength > 0) { context.Append(item.Key); } else { context.AppendValueExtend(item.Key); } context.AppendTokenExtend(item.Value, level); } }