whitepeak.org

.NET Types

Here is a list of the .NET types used in describing the Tacx file formats.

NameSize (Bytes)Comment
Byte1Byte
Char2Character (size can be 1 byte if the encoding is set to ASCII)
Int162Signed 16 bit integer
UInt162Unsigned 16 bit integer
Int324Signed 32 bit integer
Single4Single precision IEEE floating point number
UInt324Unsigned 32 bit integer
Double8Double precision IEEE floating point number

NB 1: The use of square brackets [] after a type indicates an array of that type. For example, Char[] is an array of char.

NB 2: Note that the size of the Char type depends on the encoding being used; in Fortius files this is always unicode, i.e. 2 bytes per character