GoFiler Legato Script Reference
Legato v 1.5d Application v 5.25a
|
Table of Contents | < < Previous | Next >> |
Chapter Five — General Functions (continued)
This series of functions makes dealing with certain types of data easier by allowing the building and disassembly of binary words of data. This can also be performed by shifting and masking data but these functions make the processes much easier to perform and understand.
Functions are broken into four groups:
– Get/Put Word Functions (operating on buffers or Data Objects)
– Binary Word Functions
– Binary Memory Access Functions
– Color Functions
A series of functions are available to read and write to a buffer using various data types. The buffer can also be a Data Object.
Functions:
Get16Word — Gets a 16-bit word from a string or char buffer by offset with optional swap.
Get32Word — Gets a 32-bit dword from a string or char buffer by offset with optional swap.
Get64Word — Gets a 64-bit qword from a string or char buffer by offset with optional swap.
Get32Float — Gets a 32-bit float from a string or char buffer by offset. Conversion is to 64-bit float.
Get64Float — Gets a 64-bit float from a string or char buffer by offset.
Get8String — Gets an 8-bit string of characters from a string, char buffer or Data Object by offset.
Put8Word — Sets an 8-bit byte into a buffer or Data Object at a specified position.
Put16Word — Sets a 16-bit word into a buffer or Data Object at a specified position.
Put32Word — Sets a 32-bit dword into a buffer or Data Object at a specified position.
Put64Word — Sets a 64-bit qword into a buffer or Data Object at a specified position.
Put32Float — Sets a 32-bit float into a buffer or Data Object at a specified position.
Put64Float — Sets a 64-bit float into a buffer or Data Object at a specified position.
PutString — Sets a string or wstring into a buffer or Data Object at a specified position.
Table of Contents | < < Previous | Next >> |
© 2012-2024 Novaworks, LLC. All rights reserved worldwide. Unauthorized use, duplication or transmission prohibited by law. Portions of the software are protected by US Patents 10,095,672, 10,706,221 and 11,210,456. GoFiler™ and Legato™ are trademarks of Novaworks, LLC. EDGAR® is a federally registered trademark of the U.S. Securities and Exchange Commission. Novaworks is not affiliated with or approved by the U.S. Securities and Exchange Commission. All other trademarks are property of their respective owners. Use of the features specified in this language are subject to terms, conditions and limitations of the Software License Agreement.