Zen API
 All Classes Files Functions Variables Typedefs Friends Macros Modules Pages
k16s Struct Reference

Description

Represents a 16-bit signed integer.

k16s supports the kdat5 and kdat6 serialization protocols.

Inheritance diagram for k16s:
Inheritance graph

Public Member Functions

kStatus k16s_Format (k16s value, kChar *buffer, kSize capacity)
 Converts k16s value to string. More...
 
kStatus k16s_Parse (k16s *value, const kChar *str)
 Converts string to k16s value. More...
 
- Public Member Functions inherited from kValue
kBool kValue_Equals (kType type, const void *value, const void *other)
 Determines whether a value is equal to another value. More...
 
kSize kValue_HashCode (kType type, const void *value)
 Gets a hash code representing the state of this value. More...
 
void kValue_Import (kType type, void *value, const void *source)
 Imports the content of another value into this value. More...
 

Related

#define k16S_MAX   (32767)
 k16s maximum value.
 
#define k16S_MIN   (-k16S_MAX -1)
 k16s minimum value.
 
#define k16S_NULL   (k16S_MIN)
 k16s invalid value.
 

The documentation for this struct was generated from the following file: