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

Description

Represents an 8-bit unsigned integer.

k8u supports the kdat5 and kdat6 serialization protocols.

Inheritance diagram for k8u:
Inheritance graph

Public Member Functions

kStatus k8u_Format (k8u value, kChar *buffer, kSize capacity)
 Converts k8u value to string. More...
 
kStatus k8u_Parse (k8u *value, const kChar *str)
 Converts string to k8u 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 k8U_MIN
 k8u minimum value.
 
#define k8U_MAX
 k8u maximum value.
 
#define k8U_NULL
 k8u invalid value.
 

Additional Inherited Members

- Protected Member Functions inherited from kValue
kBool kValue_VEquals (kType type, const void *value, const void *other)
 Protected virtual method that compares two values for equality. More...
 
kSize kValue_VHashCode (kType type, const void *value)
 Protected virtual method that calculates a hash code representing the value instance. More...
 
void kValue_VImport (kType type, void *value, const void *source)
 Protected virtual method that imports data from an external source into an array-value type. More...
 

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