| Total Complexity | 4 | 
| Total Lines | 25 | 
| Duplicated Lines | 0 % | 
| Changes | 0 | ||
| 1 | <?php  | 
            ||
| 19 | final class LittleEndianReader implements IntegerByteSequenceReader  | 
            ||
| 20 | { | 
            ||
| 21 | public function read8(ByteReaderInterface $data, int $offset): int  | 
            ||
| 24 | }  | 
            ||
| 25 | |||
| 26 | public function read16(ByteReaderInterface $data, int $offset): int  | 
            ||
| 27 |     { | 
            ||
| 28 | return ($data[$offset + 1] << 8) | $data[$offset];  | 
            ||
| 29 | }  | 
            ||
| 30 | |||
| 31 | public function read32(ByteReaderInterface $data, int $offset): int  | 
            ||
| 32 |     { | 
            ||
| 33 | return ($data[$offset + 3] << 24)  | 
            ||
| 34 | | ($data[$offset + 2] << 16)  | 
            ||
| 35 | | ($data[$offset + 1] << 8)  | 
            ||
| 36 | | $data[$offset];  | 
            ||
| 37 | }  | 
            ||
| 38 | |||
| 39 | public function read64(ByteReaderInterface $data, int $offset): UInt64  | 
            ||
| 44 | );  | 
            ||
| 45 | }  | 
            ||
| 46 | }  | 
            ||
| 47 |