yijunyu/c-to-rust huggingface dataset:
// Original:
public ListModelsResult listModels(ListModelsRequest request) {request = beforeClientExecution(request);return executeListModels(request);}

// Translation:
public virtual ListModelsResponse ListModels(ListModelsRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListModelsRequestMarshaller.Instance;options.ResponseUnmarshaller = ListModelsResponseUnmarshaller.Instance;return Invoke<ListModelsResponse>(request, options);}
// Original:
public ExtensionQuery(QueryParser topLevelParser, String field, String rawQueryString) {this.field = field;this.rawQueryString = rawQueryString;this.topLevelParser = topLevelParser;}

// Translation:
public ExtensionQuery(Classic.QueryParser topLevelParser, string field, string rawQueryString){this.Field = field;this.RawQueryString = rawQueryString;this.TopLevelParser = topLevelParser;}
// Original:
public String toString() {return resourceDescription;}

// Translation:
public override string ToString(){return resourceDescription;}
// Original:
public GetDeploymentInstanceResult getDeploymentInstance(GetDeploymentInstanceRequest request) {request = beforeClientExecution(request);return executeGetDeploymentInstance(request);}

// Translation:
public virtual GetDeploymentInstanceResponse GetDeploymentInstance(GetDeploymentInstanceRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetDeploymentInstanceRequestMarshaller.Instance;options.ResponseUnmarshaller = GetDeploymentInstanceResponseUnmarshaller.Instance;return Invoke<GetDeploymentInstanceResponse>(request, options);}
// Original:
public MappingCharFilterFactory(Map<String,String> args) {super(args);mapping = get(args, "mapping");if (!args.isEmpty()) {throw new IllegalArgumentException("Unknown parameters: " + args);}}

// Translation:
public MappingCharFilterFactory(IDictionary<string, string> args) : base(args){mapping = Get(args, "mapping");if (args.Count > 0){throw new System.ArgumentException("Unknown parameters: " + args);}}
// Original:
public boolean promptPassphrase(String msg) {CredentialItem.StringType v = newPrompt(msg);if (provider.get(uri, v)) {passphrase = v.getValue();return true;}passphrase = null;return false;}

// Translation:
public virtual bool PromptPassphrase(string msg){CredentialItem.StringType v = NewPrompt(msg);if (provider.Get(uri, v)){passphrase = v.GetValue();return true;}else{passphrase = null;return false;}}
// Original:
public DescribeReservedDBInstancesResult describeReservedDBInstances() {return describeReservedDBInstances(new DescribeReservedDBInstancesRequest());}

// Translation:
public virtual DescribeReservedDBInstancesResponse DescribeReservedDBInstances(){return DescribeReservedDBInstances(new DescribeReservedDBInstancesRequest());}
// Original:
public UnsubscribeFromDatasetResult unsubscribeFromDataset(UnsubscribeFromDatasetRequest request) {request = beforeClientExecution(request);return executeUnsubscribeFromDataset(request);}

// Translation:
public virtual UnsubscribeFromDatasetResponse UnsubscribeFromDataset(UnsubscribeFromDatasetRequest request){var options = new InvokeOptions();options.RequestMarshaller = UnsubscribeFromDatasetRequestMarshaller.Instance;options.ResponseUnmarshaller = UnsubscribeFromDatasetResponseUnmarshaller.Instance;return Invoke<UnsubscribeFromDatasetResponse>(request, options);}
// Original:
public int available() throws IOException {if (buf == null) {throw new IOException();}return buf.length - pos + in.available();}

// Translation:
public override int available(){if (buf == null){throw new System.IO.IOException();}return buf.Length - pos + @in.available();}
// Original:
@Override public V remove(Object key) {return isInBounds(key) ? TreeMap.this.remove(key) : null;}

// Translation:
public override V remove(object key){return this.isInBounds(key) ? this._enclosing.remove(key) : default(V);}
// Original:
public void insertSST() {LOG.log(DEBUG, "creating new SST via insertSST!");sst = new SSTRecord();records.add(records.size() - 1, createExtendedSST());records.add(records.size() - 2, sst);}

// Translation:
public void InsertSST(){sst = new SSTRecord();records.Add(records.Count- 1, CreateExtendedSST());records.Add(records.Count - 2, sst);}
// Original:
public AddApplicationCloudWatchLoggingOptionResult addApplicationCloudWatchLoggingOption(AddApplicationCloudWatchLoggingOptionRequest request) {request = beforeClientExecution(request);return executeAddApplicationCloudWatchLoggingOption(request);}

// Translation:
public virtual AddApplicationCloudWatchLoggingOptionResponse AddApplicationCloudWatchLoggingOption(AddApplicationCloudWatchLoggingOptionRequest request){var options = new InvokeOptions();options.RequestMarshaller = AddApplicationCloudWatchLoggingOptionRequestMarshaller.Instance;options.ResponseUnmarshaller = AddApplicationCloudWatchLoggingOptionResponseUnmarshaller.Instance;return Invoke<AddApplicationCloudWatchLoggingOptionResponse>(request, options);}
// Original:
public ListCampaignsResult listCampaigns(ListCampaignsRequest request) {request = beforeClientExecution(request);return executeListCampaigns(request);}

// Translation:
public virtual ListCampaignsResponse ListCampaigns(ListCampaignsRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListCampaignsRequestMarshaller.Instance;options.ResponseUnmarshaller = ListCampaignsResponseUnmarshaller.Instance;return Invoke<ListCampaignsResponse>(request, options);}
// Original:
public void execute(Lexer lexer) {lexer.more();}

// Translation:
public void Execute(Lexer lexer){lexer.More();}
// Original:
public SetFaceCoverRequest() {super("CloudPhoto", "2017-07-11", "SetFaceCover", "cloudphoto");setProtocol(ProtocolType.HTTPS);}

// Translation:
public SetFaceCoverRequest(): base("CloudPhoto", "2017-07-11", "SetFaceCover", "cloudphoto", "openAPI"){Protocol = ProtocolType.HTTPS;}
// Original:
public GetInstanceAccessResult getInstanceAccess(GetInstanceAccessRequest request) {request = beforeClientExecution(request);return executeGetInstanceAccess(request);}

// Translation:
public virtual GetInstanceAccessResponse GetInstanceAccess(GetInstanceAccessRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetInstanceAccessRequestMarshaller.Instance;options.ResponseUnmarshaller = GetInstanceAccessResponseUnmarshaller.Instance;return Invoke<GetInstanceAccessResponse>(request, options);}
// Original:
public void clear() {value = null;}

// Translation:
public override void Clear(){value = null;}
// Original:
public GetFederationTokenResult getFederationToken(GetFederationTokenRequest request) {request = beforeClientExecution(request);return executeGetFederationToken(request);}

// Translation:
public virtual GetFederationTokenResponse GetFederationToken(GetFederationTokenRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetFederationTokenRequestMarshaller.Instance;options.ResponseUnmarshaller = GetFederationTokenResponseUnmarshaller.Instance;return Invoke<GetFederationTokenResponse>(request, options);}
// Original:
public int first() {currentSentence = 0;text.setIndex(text.getBeginIndex());return current();}

// Translation:
public override int First(){currentSentence = 0;text.SetIndex(text.BeginIndex);return Current;}
// Original:
public QueryPhraseMap getFieldTermMap( String fieldName, String term ){QueryPhraseMap rootMap = getRootMap( fieldName );return rootMap == null ? null : rootMap.subMap.get( term );}

// Translation:
public virtual QueryPhraseMap GetFieldTermMap(string fieldName, string term){QueryPhraseMap rootMap = GetRootMap(fieldName);if (rootMap == null) return null;rootMap.subMap.TryGetValue(term, out QueryPhraseMap result);return result;}
// Original:
@Override public boolean contains(Object object) {if (object instanceof Multiset.Entry) {Multiset.Entry<?> entry = (Multiset.Entry<?>) object;Object element = entry.getElement();int entryCount = entry.getCount();return entryCount > 0 && count(element) == entryCount;}return false;}

// Translation:
public override bool contains(object o){if (!(o is java.util.MapClass.Entry<K, V>)){return false;}java.util.MapClass.Entry<object, object> e = (java.util.MapClass.Entry<object, object>)o;return this._enclosing.containsMapping(e.getKey(), e.getValue());}
// Original:
public DeleteLexiconResult deleteLexicon(DeleteLexiconRequest request) {request = beforeClientExecution(request);return executeDeleteLexicon(request);}

// Translation:
public virtual DeleteLexiconResponse DeleteLexicon(DeleteLexiconRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteLexiconRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteLexiconResponseUnmarshaller.Instance;return Invoke<DeleteLexiconResponse>(request, options);}
// Original:
public DomainMetadataResult domainMetadata(DomainMetadataRequest request) {request = beforeClientExecution(request);return executeDomainMetadata(request);}

// Translation:
public virtual DomainMetadataResponse DomainMetadata(DomainMetadataRequest request){var options = new InvokeOptions();options.RequestMarshaller = DomainMetadataRequestMarshaller.Instance;options.ResponseUnmarshaller = DomainMetadataResponseUnmarshaller.Instance;return Invoke<DomainMetadataResponse>(request, options);}
// Original:
public RevFlag getReinterestingFlag() {return REINTERESTING;}

// Translation:
public RevFlag GetReinterestingFlag(){return REINTERESTING;}
// Original:
public static void advise(FileDescriptor fd, long offset, long len, int advise) throws IOException {final int code = posix_fadvise(fd, offset, len, advise);if (code != 0) {throw new RuntimeException("posix_fadvise failed code=" + code);}}

// Translation:
public static void advise(FileDescriptor fd, long offset, long len, int advise) throws IOException{int code = posix_fadvise(fd, offset, len, advise);if (code != 0){throw new Exception("posix_fadvise failed code=" + code);}}
// Original:
public DeleteSchemaResult deleteSchema(DeleteSchemaRequest request) {request = beforeClientExecution(request);return executeDeleteSchema(request);}

// Translation:
public virtual DeleteSchemaResponse DeleteSchema(DeleteSchemaRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteSchemaRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteSchemaResponseUnmarshaller.Instance;return Invoke<DeleteSchemaResponse>(request, options);}
// Original:
public CreateBatchInferenceJobResult createBatchInferenceJob(CreateBatchInferenceJobRequest request) {request = beforeClientExecution(request);return executeCreateBatchInferenceJob(request);}

// Translation:
public virtual CreateBatchInferenceJobResponse CreateBatchInferenceJob(CreateBatchInferenceJobRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateBatchInferenceJobRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateBatchInferenceJobResponseUnmarshaller.Instance;return Invoke<CreateBatchInferenceJobResponse>(request, options);}
// Original:
public BitField(final int mask){_mask = mask;int count       = 0;int bit_pattern = mask;if (bit_pattern != 0){while ((bit_pattern & 1) == 0){count++;bit_pattern >>= 1;}}_shift_count = count;}

// Translation:
public BitField(int mask){this._mask = mask;int num = 0;int num2 = mask;if (num2 != 0){while ((num2 & 1) == 0){num++;num2 = num2 >> 1;}}this._shift_count = num;}
// Original:
public boolean failed() {return !failingPaths.isEmpty();}

// Translation:
public virtual bool Failed(){return failingPaths.Count > 0;}
// Original:
public String toString() {StringBuilder b = new StringBuilder();for(int i=0;i<len;i++) {if (i > 0) {b.append(' ');}b.append(Integer.toBinaryString(bytes[i].value));}return b.toString();}

// Translation:
public override string ToString(){StringBuilder b = new StringBuilder();for (int i = 0; i < len; i++){if (i > 0){b.Append(' ');}b.Append(bytes[i].Value.ToBinaryString());}return b.ToString();}
// Original:
public final void remove() {if (modCount != expectedModCount)throw new ConcurrentModificationException();if (lastReturned == null)throw new IllegalStateException();LinkedHashMap.this.remove(lastReturned.key);lastReturned = null;expectedModCount = modCount;}

// Translation:
public virtual void remove(){if (this._enclosing.modCount != this.expectedModCount){throw new java.util.ConcurrentModificationException();}if (this.lastReturned == null){throw new System.InvalidOperationException();}this._enclosing.remove(this.lastReturned.key);this.lastReturned = null;this.expectedModCount = this._enclosing.modCount;}
// Original:
public boolean shouldBeRecursive() {return path.shouldBeRecursive() || ANY_DIFF.shouldBeRecursive();}

// Translation:
public override bool ShouldBeRecursive(){return path.ShouldBeRecursive() || ANY_DIFF.ShouldBeRecursive();}
// Original:
public DeleteQueueRequest(String queueUrl) {setQueueUrl(queueUrl);}

// Translation:
public DeleteQueueRequest(string queueUrl){_queueUrl = queueUrl;}
// Original:
public ExternalName getExternalName(int externSheetIndex, int externNameIndex) {String nameName = linkTable.resolveNameXText(externSheetIndex, externNameIndex, this);if(nameName == null) {return null;}int ix = linkTable.resolveNameXIx(externSheetIndex, externNameIndex);return new ExternalName(nameName, externNameIndex, ix);}

// Translation:
public ExternalName GetExternalName(int externSheetIndex, int externNameIndex){String nameName = linkTable.ResolveNameXText(externSheetIndex, externNameIndex, this);if (nameName == null){return null;}int ix = linkTable.ResolveNameXIx(externSheetIndex, externNameIndex);return new ExternalName(nameName, externNameIndex, ix);}
// Original:
public RegisterUserResult registerUser(RegisterUserRequest request) {request = beforeClientExecution(request);return executeRegisterUser(request);}

// Translation:
public virtual RegisterUserResponse RegisterUser(RegisterUserRequest request){var options = new InvokeOptions();options.RequestMarshaller = RegisterUserRequestMarshaller.Instance;options.ResponseUnmarshaller = RegisterUserResponseUnmarshaller.Instance;return Invoke<RegisterUserResponse>(request, options);}
// Original:
public void decode(byte[] blocks, int blocksOffset, int[] values, int valuesOffset, int iterations) {for (int j = 0; j < iterations; ++j) {values[valuesOffset++] = blocks[blocksOffset++] & 0xFF;}}

// Translation:
public override void Decode(byte[] blocks, int blocksOffset, int[] values, int valuesOffset, int iterations){for (int j = 0; j < iterations; ++j){values[valuesOffset++] = blocks[blocksOffset++] & 0xFF;}}
// Original:
public ValueEval evaluate(int srcRowIndex, int srcColumnIndex, ValueEval arg0) {return fixed(arg0, new NumberEval(2), BoolEval.FALSE, srcRowIndex, srcColumnIndex);}

// Translation:
public ValueEval Evaluate(int srcRowIndex, int srcColumnIndex, ValueEval arg0){return doFixed(arg0, new NumberEval(2), BoolEval.FALSE, srcRowIndex, srcColumnIndex);}
// Original:
public final byte[] array() {return protectedArray();}

// Translation:
public sealed override object array(){return protectedArray();}
// Original:
public int readUByte() {byte[] buf = new byte[1];try {checkEOF(read(buf), 1);} catch (IOException e) {throw new RuntimeException(e);}return LittleEndian.getUByte(buf);}

// Translation:
public int ReadUByte(){int ch;try{ch = in1.ReadByte();}catch (IOException e){throw new RuntimeException(e);}CheckEOF(ch);return ch;}
// Original:
public static AttrPtg createSkip(int dist) {return new AttrPtg(optiSkip.set(0), dist, null, -1);}

// Translation:
public static AttrPtg CreateSkip(int dist){return new AttrPtg(optiSkip.Set(0), dist, null, -1);}
// Original:
public DescribeUserHierarchyGroupResult describeUserHierarchyGroup(DescribeUserHierarchyGroupRequest request) {request = beforeClientExecution(request);return executeDescribeUserHierarchyGroup(request);}

// Translation:
public virtual DescribeUserHierarchyGroupResponse DescribeUserHierarchyGroup(DescribeUserHierarchyGroupRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeUserHierarchyGroupRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeUserHierarchyGroupResponseUnmarshaller.Instance;return Invoke<DescribeUserHierarchyGroupResponse>(request, options);}
// Original:
public User(String path, String userName, String userId, String arn, java.util.Date createDate) {setPath(path);setUserName(userName);setUserId(userId);setArn(arn);setCreateDate(createDate);}

// Translation:
public User(string path, string userName, string userId, string arn, DateTime createDate){_path = path;_userName = userName;_userId = userId;_arn = arn;_createDate = createDate;}
// Original:
public OpenNLPLemmatizerFilter create(TokenStream in) {try {NLPLemmatizerOp lemmatizerOp = OpenNLPOpsFactory.getLemmatizer(dictionaryFile, lemmatizerModelFile);return new OpenNLPLemmatizerFilter(in, lemmatizerOp);} catch (IOException e) {throw new RuntimeException(e);}}

// Translation:
public override TokenStream Create(TokenStream input){try{NLPLemmatizerOp lemmatizerOp = OpenNLPOpsFactory.GetLemmatizer(dictionaryFile, lemmatizerModelFile);return new OpenNLPLemmatizerFilter(input, lemmatizerOp);}catch (IOException e){throw new Exception(e.ToString(), e);}}
// Original:
public void decode(byte[] blocks, int blocksOffset, long[] values, int valuesOffset, int iterations) {for (int i = 0; i < iterations; ++i) {final long byte0 = blocks[blocksOffset++] & 0xFF;final long byte1 = blocks[blocksOffset++] & 0xFF;values[valuesOffset++] = (byte0 << 4) | (byte1 >>> 4);final long byte2 = blocks[blocksOffset++] & 0xFF;values[valuesOffset++] = ((byte1 & 15) << 8) | byte2;}}

// Translation:
public override void Decode(byte[] blocks, int blocksOffset, long[] values, int valuesOffset, int iterations){for (int i = 0; i < iterations; ++i){long byte0 = blocks[blocksOffset++] & 0xFF;long byte1 = blocks[blocksOffset++] & 0xFF;values[valuesOffset++] = (byte0 << 4) | ((long)((ulong)byte1 >> 4));long byte2 = blocks[blocksOffset++] & 0xFF;values[valuesOffset++] = ((byte1 & 15) << 8) | byte2;}}
// Original:
public RebootInstanceRequest() {super("HPC", "2016-06-03", "RebootInstance", "hpc");setMethod(MethodType.POST);}

// Translation:
public RebootInstanceRequest(): base("HPC", "2016-06-03", "RebootInstance"){Method = MethodType.POST;}
// Original:
public ListContainerInstancesResult listContainerInstances(ListContainerInstancesRequest request) {request = beforeClientExecution(request);return executeListContainerInstances(request);}

// Translation:
public virtual ListContainerInstancesResponse ListContainerInstances(ListContainerInstancesRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListContainerInstancesRequestMarshaller.Instance;options.ResponseUnmarshaller = ListContainerInstancesResponseUnmarshaller.Instance;return Invoke<ListContainerInstancesResponse>(request, options);}
// Original:
public ListClustersResult listClusters(ListClustersRequest request) {request = beforeClientExecution(request);return executeListClusters(request);}

// Translation:
public virtual ListClustersResponse ListClusters(ListClustersRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListClustersRequestMarshaller.Instance;options.ResponseUnmarshaller = ListClustersResponseUnmarshaller.Instance;return Invoke<ListClustersResponse>(request, options);}
// Original:
public static boolean equals(boolean[] array1, boolean[] array2) {if (array1 == array2) {return true;}if (array1 == null || array2 == null || array1.length != array2.length) {return false;}for (int i = 0; i < array1.length; i++) {if (array1[i] != array2[i]) {return false;}}return true;}

// Translation:
public static bool equals(bool[] array1, bool[] array2){if (array1 == array2){return true;}if (array1 == null || array2 == null || array1.Length != array2.Length){return false;}{for (int i = 0; i < array1.Length; i++){if (array1[i] != array2[i]){return false;}}}return true;}
// Original:
public void decode(byte[] blocks, int blocksOffset, int[] values, int valuesOffset, int iterations) {for (int i = 0; i < iterations; ++i) {final int byte0 = blocks[blocksOffset++] & 0xFF;values[valuesOffset++] = byte0 >>> 5;values[valuesOffset++] = (byte0 >>> 2) & 7;final int byte1 = blocks[blocksOffset++] & 0xFF;values[valuesOffset++] = ((byte0 & 3) << 1) | (byte1 >>> 7);values[valuesOffset++] = (byte1 >>> 4) & 7;values[valuesOffset++] = (byte1 >>> 1) & 7;final int byte2 = blocks[blocksOffset++] & 0xFF;values[valuesOffset++] = ((byte1 & 1) << 2) | (byte2 >>> 6);values[valuesOffset++] = (byte2 >>> 3) & 7;values[valuesOffset++] = byte2 & 7;}}

// Translation:
public override void Decode(byte[] blocks, int blocksOffset, int[] values, int valuesOffset, int iterations){for (int i = 0; i < iterations; ++i){int byte0 = blocks[blocksOffset++] & 0xFF;values[valuesOffset++] = (int)((uint)byte0 >> 5);values[valuesOffset++] = ((int)((uint)byte0 >> 2)) & 7;int byte1 = blocks[blocksOffset++] & 0xFF;values[valuesOffset++] = ((byte0 & 3) << 1) | ((int)((uint)byte1 >> 7));values[valuesOffset++] = ((int)((uint)byte1 >> 4)) & 7;values[valuesOffset++] = ((int)((uint)byte1 >> 1)) & 7;int byte2 = blocks[blocksOffset++] & 0xFF;values[valuesOffset++] = ((byte1 & 1) << 2) | ((int)((uint)byte2 >> 6));values[valuesOffset++] = ((int)((uint)byte2 >> 3)) & 7;values[valuesOffset++] = byte2 & 7;}}
// Original:
public GetRelationalDatabaseSnapshotResult getRelationalDatabaseSnapshot(GetRelationalDatabaseSnapshotRequest request) {request = beforeClientExecution(request);return executeGetRelationalDatabaseSnapshot(request);}

// Translation:
public virtual GetRelationalDatabaseSnapshotResponse GetRelationalDatabaseSnapshot(GetRelationalDatabaseSnapshotRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetRelationalDatabaseSnapshotRequestMarshaller.Instance;options.ResponseUnmarshaller = GetRelationalDatabaseSnapshotResponseUnmarshaller.Instance;return Invoke<GetRelationalDatabaseSnapshotResponse>(request, options);}
// Original:
public int fillFields(byte[] data, int offset, EscherRecordFactory recordFactory) {int bytesRemaining = readHeader( data, offset );int pos = offset + 8;field_1_blipTypeWin32 = data[pos];field_2_blipTypeMacOS = data[pos + 1];System.arraycopy( data, pos + 2, field_3_uid, 0, 16 );field_4_tag = LittleEndian.getShort( data, pos + 18 );field_5_size = LittleEndian.getInt( data, pos + 20 );field_6_ref = LittleEndian.getInt( data, pos + 24 );field_7_offset = LittleEndian.getInt( data, pos + 28 );field_8_usage = data[pos + 32];field_9_name = data[pos + 33];field_10_unused2 = data[pos + 34];field_11_unused3 = data[pos + 35];bytesRemaining -= 36;int bytesRead = 0;if (bytesRemaining > 0) {field_12_blipRecord = (EscherBlipRecord) recordFactory.createRecord( data, pos + 36 );bytesRead = field_12_blipRecord.fillFields( data, pos + 36, recordFactory );}pos += 36 + bytesRead;bytesRemaining -= bytesRead;_remainingData = IOUtils.safelyAllocate(bytesRemaining, MAX_RECORD_LENGTH);System.arraycopy( data, pos, _remainingData, 0, bytesRemaining );return bytesRemaining + 8 + 36 + (field_12_blipRecord == null ? 0 : field_12_blipRecord.getRecordSize()) ;}

// Translation:
public override int FillFields(byte[] data, int offset,IEscherRecordFactory recordFactory){int bytesRemaining = ReadHeader(data, offset);int pos = offset + 8;field_1_blipTypeWin32 = data[pos];field_2_blipTypeMacOS = data[pos + 1];field_3_uid = new byte[16];Array.Copy(data, pos + 2, field_3_uid, 0, 16);field_4_tag = LittleEndian.GetShort(data, pos + 18);field_5_size = LittleEndian.GetInt(data, pos + 20);field_6_ref = LittleEndian.GetInt(data, pos + 24);field_7_offset = LittleEndian.GetInt(data, pos + 28);field_8_usage = data[pos + 32];field_9_name = data[pos + 33];field_10_unused2 = data[pos + 34];field_11_unused3 = data[pos + 35];bytesRemaining -= 36;int bytesRead = 0;if (bytesRemaining > 0){field_12_blipRecord = (EscherBlipRecord)recordFactory.CreateRecord(data, pos + 36);bytesRead = field_12_blipRecord.FillFields(data, pos + 36, recordFactory);}pos += 36 + bytesRead;bytesRemaining -= bytesRead;_remainingData = new byte[bytesRemaining];Array.Copy(data, pos, _remainingData, 0, bytesRemaining);return bytesRemaining + 8 + 36 + (field_12_blipRecord == null ? 0 : field_12_blipRecord.RecordSize);}
// Original:
@Override public int size() {return size;}

// Translation:
public override int size(){return a.Length;}