Documentation

Version
in package

Table of Contents

Properties

$byteSize  : int
$major  : int
$minor  : int
$patch  : int

Methods

__toString()  : string
Returns a string representation of the object.
deserialize()  : Version
Deserializes an instance of `Version` from the provided `EoReader`.
getByteSize()  : int
Returns the size of the data that this was deserialized from.
getMajor()  : int
getMinor()  : int
getPatch()  : int
serialize()  : void
Serializes an instance of `Version` to the provided `EoWriter`.
setByteSize()  : void
Sets the size of the data that this was deserialized from.
setMajor()  : void
setMinor()  : void
setPatch()  : void

Properties

Methods

__toString()

Returns a string representation of the object.

public __toString() : string
Return values
string

deserialize()

Deserializes an instance of `Version` from the provided `EoReader`.

public static deserialize(EoReader $reader) : Version
Parameters
$reader : EoReader

The reader that the data will be deserialized from.

Return values
Version

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.

getMajor()

public getMajor() : int
Return values
int

getMinor()

public getMinor() : int
Return values
int

getPatch()

public getPatch() : int
Return values
int

serialize()

Serializes an instance of `Version` to the provided `EoWriter`.

public static serialize(EoWriter $writer, Version $data) : void
Parameters
$writer : EoWriter

The writer that the data will be serialized to.

$data : Version

The data to serialize.

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.

setMajor()

public setMajor(int $major) : void
Parameters
$major : int

setMinor()

public setMinor(int $minor) : void
Parameters
$minor : int

setPatch()

public setPatch(int $patch) : void
Parameters
$patch : int

        
On this page

Search results