25 lines
717 B
C
25 lines
717 B
C
#ifndef CONVERSION_H_
|
|
#define CONVERSION_H_
|
|
|
|
|
|
#include <stdint.h>
|
|
|
|
|
|
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_ */
|