Conditions | 2 |
Paths | 2 |
Total Lines | 12 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Tests | 6 |
CRAP Score | 2.0116 |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
29 | 2 | public function init(IsoFile $isoFile, int &$offset): void |
|
30 | { |
||
31 | 2 | if ($this->bytes === null) { |
|
32 | return; |
||
33 | } |
||
34 | |||
35 | 2 | $this->bootSysId = Buffer::getString($this->bytes, 32, $offset); |
|
36 | 2 | $this->bootId = Buffer::getString($this->bytes, 32, $offset); |
|
37 | 2 | $this->bootCatalogLocation = Buffer::readLSB($this->bytes, 4, $offset); |
|
38 | |||
39 | // free some space... |
||
40 | 2 | $this->bytes = null; |
|
41 | } |
||
43 |