MCPcopy Create free account
hub / github.com/error311/FileRise / availableBytes

Method availableBytes

src/FileRise/Storage/CurlReadStream.php:265–268  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

263 }
264
265 private function availableBytes(): int
266 {
267 return $this->writeOffset - $this->readOffset;
268 }
269
270 private function resetBufferIfDrained(): void
271 {

Callers 4

readMethod · 0.95
eofMethod · 0.95
pumpMethod · 0.95
consumeAvailableMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected