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