(startAddr: number, endAddr: number)
| 69 | } |
| 70 | |
| 71 | public isInsideRange(startAddr: number, endAddr: number) { |
| 72 | if ((startAddr >= this.startAddress) && (endAddr <= this.endAddress)) { |
| 73 | return true; |
| 74 | } |
| 75 | return false; |
| 76 | } |
| 77 | |
| 78 | public isOverlappingRange(startAddress: number, endAddress: number) { // Touching is overlapping |
| 79 | const length = endAddress - startAddress; |