Count

A class that provides a type for the count field in some Styx messages. Inherits methods from the Size class and the StyxObject class.

Constructors

this
this(uint size)

A constructor that creates an object of the Count class with the given parameter in the form of unsigned value. If called without parameters, then the default parameter is zero.

Members

Aliases

getCount
alias getCount = getSize

An alias that allows you to call a getter method without accessing the base Size class

setCount
alias setCount = setSize

An alias that allows you to call a setter method without accessing the base Size class

Functions

toString
string toString()

Convenient string representation of an object for printing

Inherited Members

From Size

_size
uint _size;
Undocumented in source.
_representation
ubyte[] _representation;
Undocumented in source.
getSize
uint getSize()

Get size from Size object

setSize
void setSize(uint size)

Set size from unsigned value

pack
ubyte[] pack()

Pack to bytes array

unpack
void unpack(ubyte[] bytes)

Unpack from bytes array

toString
string toString()

Convenient string representation of an object for printing

See Also

https://web.archive.org/web/20201029184954/https://powerman.name/Inferno/man/5/0intro.html

Meta