Documentation

ResourceDataAccess
in package
implements DataAccessInterface

Table of Contents

Interfaces

DataAccessInterface

Methods

__construct()  : mixed
getPosition()  : int
readInteger()  : int
readString()  : string
setPosition()  : void
writeInteger()  : void
writeString()  : void

Methods

__construct()

public __construct(mixed $resource) : mixed
Parameters
$resource : mixed

readInteger()

public readInteger(int $size[, bool $peek = false ]) : int
Parameters
$size : int
$peek : bool = false
Return values
int

readString()

public readString(int $size[, bool $peek = false ]) : string
Parameters
$size : int
$peek : bool = false
Return values
string

setPosition()

public setPosition(int $position) : void
Parameters
$position : int

writeInteger()

public writeInteger(int $value, int $size) : void
Parameters
$value : int
$size : int

writeString()

public writeString(string $value) : void
Parameters
$value : string

        
On this page

Search results