IOLink IOL_v1.8.0_release
Loading...
Searching...
No Matches
DataConverter.h
1#pragma once
2
3#include <iolink/DataType.h>
4#include <iolink/IOLinkAPI.h>
5
6namespace iolink
7{
8
12class IOLINK_API DataConverter
13{
14public:
36 static void convert(DataType srcType, const void* src, DataType dstType, void* dst, size_t count);
37
51 static void endianReverse(DataType srcType, const void* src, void* dst, size_t count);
52};
53
54} // end namespace iolink