@@ 207-211 (lines=5) @@ | ||
204 | ||
205 | $block = $this->props[$stream]['startBlock']; |
|
206 | ||
207 | while ($block != -2) { |
|
208 | $pos = ($block + 1) * self::BIG_BLOCK_SIZE; |
|
209 | $streamData .= substr($this->data, $pos, self::BIG_BLOCK_SIZE); |
|
210 | $block = self::getInt4d($this->bigBlockChain, $block * 4); |
|
211 | } |
|
212 | ||
213 | return $streamData; |
|
214 | } |
|
@@ 228-232 (lines=5) @@ | ||
225 | $block = $bl; |
|
226 | $data = ''; |
|
227 | ||
228 | while ($block != -2) { |
|
229 | $pos = ($block + 1) * self::BIG_BLOCK_SIZE; |
|
230 | $data .= substr($this->data, $pos, self::BIG_BLOCK_SIZE); |
|
231 | $block = self::getInt4d($this->bigBlockChain, $block * 4); |
|
232 | } |
|
233 | ||
234 | return $data; |
|
235 | } |