Ecf
in package
Table of Contents
Properties
- $classes : array<string|int, EcfRecord>
- $rid : array<string|int, int>
- $byteSize : int
- $totalClassesCount : int
- $version : int
Methods
- __toString() : string
- Returns a string representation of the object.
- deserialize() : Ecf
- Deserializes an instance of `Ecf` from the provided `EoReader`.
- getByteSize() : int
- Returns the size of the data that this was deserialized from.
- getClasses() : array<string|int, EcfRecord>
- getRid() : array<string|int, int>
- getTotalClassesCount() : int
- getVersion() : int
- serialize() : void
- Serializes an instance of `Ecf` to the provided `EoWriter`.
- setByteSize() : void
- Sets the size of the data that this was deserialized from.
- setClasses() : void
- setRid() : void
- setTotalClassesCount() : void
- setVersion() : void
Properties
$classes
public
array<string|int, EcfRecord>
$classes
= []
$rid
public
array<string|int, int>
$rid
= []
$byteSize
private
int
$byteSize
= 0
$totalClassesCount
private
int
$totalClassesCount
$version
private
int
$version
Methods
__toString()
Returns a string representation of the object.
public
__toString() : string
Return values
stringdeserialize()
Deserializes an instance of `Ecf` from the provided `EoReader`.
public
static deserialize(EoReader $reader) : Ecf
Parameters
- $reader : EoReader
-
The reader that the data will be deserialized from.
Return values
Ecf —The deserialized data.
getByteSize()
Returns the size of the data that this was deserialized from.
public
getByteSize() : int
Return values
int —The size of the data that this was deserialized from.
getClasses()
public
getClasses() : array<string|int, EcfRecord>
Return values
array<string|int, EcfRecord>getRid()
public
getRid() : array<string|int, int>
Return values
array<string|int, int>getTotalClassesCount()
public
getTotalClassesCount() : int
Return values
intgetVersion()
public
getVersion() : int
Return values
intserialize()
Serializes an instance of `Ecf` to the provided `EoWriter`.
public
static serialize(EoWriter $writer, Ecf $data) : void
Parameters
setByteSize()
Sets the size of the data that this was deserialized from.
public
setByteSize(int $byteSize) : void
Parameters
- $byteSize : int
-
The size of the data that this was deserialized from.
setClasses()
public
setClasses(array<string|int, EcfRecord> $classes) : void
Parameters
- $classes : array<string|int, EcfRecord>
setRid()
public
setRid(array<string|int, int> $rid) : void
Parameters
- $rid : array<string|int, int>
setTotalClassesCount()
public
setTotalClassesCount(int $totalClassesCount) : void
Parameters
- $totalClassesCount : int
setVersion()
public
setVersion(int $version) : void
Parameters
- $version : int