public void Run() { ByteArrayBuffer reader = this._enclosing.ExpectedBufferResponse(Msg.IdList); IFixedSizeIntIterator4 idIterator = this._enclosing.IdIteratorFor(trans, reader); result.value = this._enclosing.ToLongArray(idIterator); }
private long[] ToLongArray(IFixedSizeIntIterator4 idIterator) { long[] ids = new long[idIterator.Size()]; int i = 0; while (idIterator.MoveNext()) { ids[i++] = ((int)idIterator.Current); } return(ids); }
private long[] ToLongArray(IFixedSizeIntIterator4 idIterator) { long[] ids = new long[idIterator.Size()]; int i = 0; while (idIterator.MoveNext()) { ids[i++] = ((int)idIterator.Current); } return ids; }