Block
Methods
- __construct() : mixed
- append() : void
- fromResource() : int
- id() : string
- path() : Path
- size() : int
- Current block size in bytes.
- spaceLeft() : int
Methods
__construct()
public
__construct(string $id, int $totalSize, Path $path) : mixed
Parameters
- $id : string
- $totalSize : int
- $path : Path
append()
public
append(string $data) : void
Parameters
- $data : string
Tags
fromResource()
public
fromResource(resource $resource[, int $offset = 0 ]) : int
Parameters
- $resource : resource
- $offset : int = 0
Return values
intid()
public
id() : string
Return values
stringpath()
public
path() : Path
Return values
Pathsize()
Current block size in bytes.
public
size() : int
Return values
intspaceLeft()
public
spaceLeft() : int