API File.Buffer.WriteByte

From Flowcode Help
Revision as of 11:55, 16 January 2023 by Wiki bot (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search
Fc9-comp-macro.png WriteByte
Writes a single byte to the input stream 
Fc9-h32-icon.png - HANDLE FileHandle
The handle of an open file 
Fc9-u8-icon.png - BYTE Data
A byte of data to write to the file 
Fc9-bool-icon.png - BOOL Return


Detailed description

Examples

Calling in a calculation

  • Declare a variable 'result' of type BOOL
  • Add to a calculation icon:
    result = ::File.Buffer.WriteByte(filehandle, data)