exip
Alpha 0.5.4
Main Page
Related Pages
Modules
Data Structures
Files
File List
Globals
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Groups
Pages
src
streamIO
include
streamEncode.h
Go to the documentation of this file.
1
/*==================================================================*\
2
| EXIP - Embeddable EXI Processor in C |
3
|--------------------------------------------------------------------|
4
| This work is licensed under BSD 3-Clause License |
5
| The full license terms and conditions are located in LICENSE.txt |
6
\===================================================================*/
7
18
#ifndef STREAMENCODE_H_
19
#define STREAMENCODE_H_
20
21
#include "errorHandle.h"
22
#include "procTypes.h"
23
32
errorCode
encodeNBitUnsignedInteger
(
EXIStream
* strm,
unsigned
char
n,
unsigned
int
int_val);
33
43
errorCode
encodeBoolean
(
EXIStream
* strm,
boolean
bool_val);
44
56
errorCode
encodeUnsignedInteger
(
EXIStream
* strm,
UnsignedInteger
int_val);
57
67
errorCode
encodeString
(
EXIStream
* strm,
const
String
* string_val);
68
78
errorCode
encodeStringOnly
(
EXIStream
* strm,
const
String
* string_val);
79
90
errorCode
encodeBinary
(
EXIStream
* strm,
char
* binary_val,
Index
nbytes);
91
103
errorCode
encodeIntegerValue
(
EXIStream
* strm,
Integer
sint_val);
104
118
errorCode
encodeDecimalValue
(
EXIStream
* strm,
Decimal
dec_val);
119
130
errorCode
encodeFloatValue
(
EXIStream
* strm,
Float
fl_val);
131
141
errorCode
encodeDateTimeValue
(
EXIStream
* strm,
EXIType
dtType,
EXIPDateTime
dt_val);
142
150
errorCode
writeEventCode
(
EXIStream
* strm,
EventCode
ec);
151
152
#endif
/* STREAMENCODE_H_ */
Generated on Thu Nov 27 2014 10:56:09 for exip by
1.8.4