Nwname

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

Constructors

this
this(string[] nwname)

A constructor that creates an object of the Nwname class with the given parameter in the form of string's array. If called without parameters, then the default parameter is empty string's array.

Alias This

pack

An alias for easier packing into a byte array without having to manually call the pack() method

Members

Aliases

getNwname
alias getNwname = getName

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

setNwname
alias setNwname = setName

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

Functions

countOfNames
ushort countOfNames()

Number of names in path

getName
string[] getName()

Get all names in path as string's array

pack
ubyte[] pack()

Pack to bytes array

setName
void setName(string[] nwname)

Set name to Nwname objects as string's array

toString
string toString()

Convenient string representation of an object for printing

unpack
void unpack(ubyte[] bytes)

Unpack from bytes array

Variables

_nwname
string[] _nwname;
Undocumented in source.
_representation
ubyte[] _representation;
Undocumented in source.

Inherited Members

From StyxObject

pack
ubyte[] pack()

Pack (serialize) Styx object to byte array

unpack
void unpack(ubyte[] bytes)

Unpack (deserialize) Styx object from byte array

See Also

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

Meta