2016-06-15 23:48:41 +02:00
|
|
|
#ifndef CONVERSION_H_
|
|
|
|
#define CONVERSION_H_
|
|
|
|
|
|
|
|
|
2018-07-12 16:29:32 +02:00
|
|
|
#include <stdint.h>
|
2016-06-15 23:48:41 +02:00
|
|
|
|
|
|
|
|
|
|
|
void convertToByteStream( uint16_t value, uint8_t* buffer, uint32_t* size );
|
|
|
|
|
|
|
|
void convertToByteStream( uint32_t value, uint8_t* buffer, uint32_t* size );
|
|
|
|
|
|
|
|
void convertToByteStream( int16_t value, uint8_t* buffer, uint32_t* size );
|
|
|
|
|
|
|
|
void convertToByteStream( int32_t value, uint8_t* buffer, uint32_t* size );
|
|
|
|
|
|
|
|
//void convertToByteStream( uint64_t value, uint8_t* buffer, uint32_t* size );
|
|
|
|
//
|
|
|
|
//void convertToByteStream( int64_t value, uint8_t* buffer, uint32_t* size );
|
|
|
|
|
|
|
|
void convertToByteStream( float value, uint8_t* buffer, uint32_t* size );
|
|
|
|
|
|
|
|
void convertToByteStream( double value, uint8_t* buffer, uint32_t* size );
|
|
|
|
|
|
|
|
#endif /* CONVERSION_H_ */
|