1 | <?php |
||
18 | class Integer24Reader extends AbstractIntegerReader |
||
19 | { |
||
20 | /** |
||
21 | * Use byte order aware trait |
||
22 | */ |
||
23 | use ByteOrderAwareTrait; |
||
24 | |||
25 | /** |
||
26 | * Read unsigned 24-bit integer (short) data from the stream |
||
27 | * |
||
28 | * @return int |
||
29 | */ |
||
30 | protected function readUnsigned() |
||
51 | |||
52 | /** |
||
53 | * Read signed 24-bit integer (short) data from the stream |
||
54 | * |
||
55 | * @return int |
||
56 | */ |
||
57 | protected function readSigned() |
||
82 | } |
||
83 |