The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information....



ConvertEndian


Unit:SDL_math1
Class:None
Declaration: [1] function ConvertEndian (value: word): word;
[2] function ConvertEndian (value: integer): integer;
[3] function ConvertEndian (value: single): single;
[4] function ConvertEndian (value: double): double;

The function ConvertEndian converts the numeric value from big endian to little endian representation, and vice versa. The function is available in 4 overloaded versions for word, integer, single and double types.



Last Update: 2023-Feb-06