The byteArray parameter must contain at least 8 bytes for the ConvertBytesToDouble function, 4 bytes for the ConvertBytesToFloat function, or 2 bytes for the ConvertBytesToHFloat function. These functions take as input an array of hex bytes byteArray and returns either the double, float, or hfloat that is represented by those bytes. Hfloat ConvertBytesToHFloat( uchar byteArray ) In little endian mode the default is right-to-left and in big endian mode the default is left-to-right.ĭouble ConvertBytesToDouble( uchar byteArray )įloat ConvertBytesToFloat( uchar byteArray ) The packing is different depending on if the Template is in big or little endian mode and the packing may change after calling the LittleEndian or BigEndian functions. See Bitfields for an introduction to using bitfields. These functions control how bitfields are packed into a variable. See Bitfields more information on bitfields. These functions control how multiple bitfields are packed into a set of bits. See LittleEndian to set little-endian byte order. This function can be used in a Template to specify the byte order of variables. Indicates that all subsequent reads and writes from the file should use big-endian byte order. The following is a list of input/output functions that can be used when writing Templates or Scripts. Installing Files on Open from the Repository.Using 010 Editor - Templates and Scripts.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |