• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright (c) 2021-2023 Huawei Device Co., Ltd.
3  * Licensed under the Apache License, Version 2.0 (the "License");
4  * you may not use this file except in compliance with the License.
5  * You may obtain a copy of the License at
6  *
7  *     http://www.apache.org/licenses/LICENSE-2.0
8  *
9  * Unless required by applicable law or agreed to in writing, software
10  * distributed under the License is distributed on an "AS IS" BASIS,
11  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12  * See the License for the specific language governing permissions and
13  * limitations under the License.
14  */
15 
16 package com.ohos.hapsigntool.hap.entity;
17 
18 /**
19  * Elf block info
20  *
21  * @since 2023/11/20
22  */
23 public class ElfBlockData {
24     int blockNum;
25     int blockStart;
26 
ElfBlockData(int blockNum, int blockStart)27     public ElfBlockData(int blockNum, int blockStart) {
28         this.blockNum = blockNum;
29         this.blockStart = blockStart;
30     }
31 
getBlockNum()32     public int getBlockNum() {
33         return blockNum;
34     }
35 
setBlockNum(int blockNum)36     public void setBlockNum(int blockNum) {
37         this.blockNum = blockNum;
38     }
39 
getBlockStart()40     public int getBlockStart() {
41         return blockStart;
42     }
43 
setBlockStart(int blockStart)44     public void setBlockStart(int blockStart) {
45         this.blockStart = blockStart;
46     }
47 }
48