Loading .t6 history in C++

Posted By: MegaTanker

Loading .t6 history in C++ - 08/03/22 18:29

Hello, wanted to ask if I could find out exactly what is in those .t6 files. The T6 struct is included in one of the headers, but how are structs encoded in the binary files? A simple array, or a vector or something else? It would be nice if I could load them directly in my own C++ code instead of converting them to CSV before reading them again.
Posted By: AndrewAMD

Re: Loading .t6 history in C++ - 08/03/22 18:42

It’s nothing more than an array of T6 structs, sorted from newest (position 0) to oldest (position N-1).

Struct alignment can be 4 or 1.
Posted By: MegaTanker

Re: Loading .t6 history in C++ - 08/03/22 19:52

Got it, will try that, thanks.
© 2024 lite-C Forums