exip  Alpha 0.5.4
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
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 
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 
104 
119 
131 
142 
151 
152 #endif /* STREAMENCODE_H_ */