@@ 202-206 (lines=5) @@ | ||
199 | ||
200 | $block = $this->props[$stream]['startBlock']; |
|
201 | ||
202 | while ($block != -2) { |
|
203 | $pos = ($block + 1) * self::BIG_BLOCK_SIZE; |
|
204 | $streamData .= substr($this->data, $pos, self::BIG_BLOCK_SIZE); |
|
205 | $block = self::getInt4d($this->bigBlockChain, $block * 4); |
|
206 | } |
|
207 | ||
208 | return $streamData; |
|
209 | } |
|
@@ 223-227 (lines=5) @@ | ||
220 | $block = $bl; |
|
221 | $data = ''; |
|
222 | ||
223 | while ($block != -2) { |
|
224 | $pos = ($block + 1) * self::BIG_BLOCK_SIZE; |
|
225 | $data .= substr($this->data, $pos, self::BIG_BLOCK_SIZE); |
|
226 | $block = self::getInt4d($this->bigBlockChain, $block * 4); |
|
227 | } |
|
228 | ||
229 | return $data; |
|
230 | } |