Uname

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

Constructors

this
this(string name)

A constructor that creates an object of the Uname class with the given parameter in the form of some string value representing uname. If called without parameters, then the default parameter is empty string value.

Members

Aliases

getUname
alias getUname = getName

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

setUname
alias setUname = setName

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

Functions

toString
string toString()

Convenient string representation of an object for printing

Inherited Members

From Name

_name
string _name;
Undocumented in source.
_representation
ubyte[] _representation;
Undocumented in source.
getName
string getName()

Get name from Name object

setName
void setName(string name)

Set mode from string object

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