ExternalFile
 
 
 Bean ExternalFile
 
External Binary File Converter

Methods are user callable functions/subroutines that are means of controlling the bean functions.

Methods:

  • GetSize - This method returns the number of elements of the array representing the binary file (= length of the file in bytes).

      ANSIC prototype: dword GetSize(void)
    • Return value:dword - Size of the array

  • GetAddr - This method returns a pointer to the array of values representing the binary file (e.g. pointer to the first element of the array).

      ANSIC prototype: byte* GetAddr(void)
    • Return value:byte* - Pointer to the constant array of byte

  • GetValue - This method returns an element (one byte) of the array representing the binary file. The values are numbered from zero (index=0 and more).

      ANSIC prototype: byte GetValue(dword Index)
    • Index:dword - Index of the element (0 to FileLength-1)
    • Return value:byte - Value of the array element


Note: Some methods can be implemented as macros.



Processor ExpertTM and Embedded BeansTM are registered trademarks of UNIS, Ltd.
©1997-2005, UNIS, Ltd.