exip  Alpha 0.5.4
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
streamDecode.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 STREAMDECODE_H_
19 #define STREAMDECODE_H_
20 
21 #include "errorHandle.h"
22 #include "procTypes.h"
23 
32 errorCode decodeNBitUnsignedInteger(EXIStream* strm, unsigned char n, unsigned int* int_val);
33 
43 errorCode decodeBoolean(EXIStream* strm, boolean* bool_val);
44 
57 
67 errorCode decodeString(EXIStream* strm, String* string_val);
68 
81 errorCode decodeStringOnly(EXIStream* strm, Index str_length, String* string_val);
82 
93 errorCode decodeBinary(EXIStream* strm, char** binary_val, Index* nbytes);
94 
107 
122 
133 errorCode decodeFloatValue(EXIStream* strm, Float* fl_val);
134 
146 
147 #endif /* STREAMDECODE_H_ */