Searched refs:skipReadBytes (Results 1 – 3 of 3) sorted by path
21 private $skipReadBytes = 0; variable in GuzzleHttp\\Psr7\\CachingStream97 $remaining + $this->skipReadBytes100 if ($this->skipReadBytes) {102 $remoteData = substr($remoteData, $this->skipReadBytes);103 $this->skipReadBytes = max(0, $this->skipReadBytes - $len);121 $this->skipReadBytes += $overflow;
18 private $skipReadBytes = 0; variable in GuzzleHttp\\Stream\\CachingStream 80 $remaining + $this->skipReadBytes83 if ($this->skipReadBytes) {85 $remoteData = substr($remoteData, $this->skipReadBytes);86 $this->skipReadBytes = max(0, $this->skipReadBytes - $len);104 $this->skipReadBytes += $overflow;
97 $skipReadBytes = new ReflectionProperty(CachingStream::class, 'skipReadBytes');98 $skipReadBytes->setAccessible(true);104 $this->assertEquals(5, $skipReadBytes->getValue($body));107 $this->assertEquals(0, $skipReadBytes->getValue($body));114 $this->assertEquals(0, $skipReadBytes->getValue($body));121 $this->assertEquals(5, $skipReadBytes->getValue($body));