Extracted from Pike v8.0 release 164 as of 2018-07-18.
   

Class ADT.Struct()->SWord

Inheritance graph
ADT.Struct.Item ADT.Struct.SWord ADT.Struct.SLong ADT.Struct.int16
Description

One word (2 bytes) in network order, signed integer value between 0 and 65535.


Inherit Item

inherit Item : Item


Method create

ADT.Struct.SWord ADT.Struct.SWord(void|int(-32768..32767) initial_value)

Description

The word can be initialized with an optional value.