Bitrix API

DechunkStream extends Stream

Table of Contents

Methods

__construct()  : mixed
__toString()  : string
close()  : void
copyTo()  : mixed
detach()  : mixed
eof()  : bool
getContents()  : string
getMetadata()  : mixed
getSize()  : int|null
isReadable()  : bool
isSeekable()  : bool
isWritable()  : bool
read()  : string
rewind()  : void
seek()  : void
tell()  : int
write()  : int

Methods

__construct()

public __construct(mixed $stream[, mixed $mode = 'r+' ]) : mixed
Parameters
$stream : mixed
$mode : mixed = 'r+'

__toString()

public __toString() : string
Tags
inheritdoc
Return values
string

close()

public close() : void
Tags
inheritdoc

copyTo()

public copyTo(mixed $stream) : mixed
Parameters
$stream : mixed

detach()

public detach() : mixed
Tags
inheritdoc

eof()

public eof() : bool
Tags
inheritdoc
Return values
bool

getContents()

public getContents() : string
Tags
inheritdoc
Return values
string

getMetadata()

public getMetadata([string|null $key = null ]) : mixed
Parameters
$key : string|null = null
Tags
inheritdoc

getSize()

public getSize() : int|null
Tags
inheritdoc
Return values
int|null

isReadable()

public isReadable() : bool
Tags
inheritdoc
Return values
bool

isSeekable()

public isSeekable() : bool
Tags
inheritdoc
Return values
bool

isWritable()

public isWritable() : bool
Tags
inheritdoc
Return values
bool

read()

public read(int $length) : string
Parameters
$length : int
Tags
inheritdoc
Return values
string

rewind()

public rewind() : void
Tags
inheritdoc

seek()

public seek(int $offset[, int $whence = SEEK_SET ]) : void
Parameters
$offset : int
$whence : int = SEEK_SET
Tags
inheritdoc

tell()

public tell() : int
Tags
inheritdoc
Return values
int

write()

public write(string $string) : int
Parameters
$string : string
Tags
inheritdoc
Return values
int

        
On this page

Search results