Difference between revisions of "API File.Buffer.WriteByte"
From Flowcode Help
Jump to navigationJump to search| Line 23: | Line 23: | ||
==Detailed description==  | ==Detailed description==  | ||
| − | + | ||
| Line 30: | Line 30: | ||
* Declare a variable 'result' of type BOOL  | * Declare a variable 'result' of type BOOL  | ||
* Add to a calculation icon: <pre class="brush:[cpp]">result = ::File.Buffer.WriteByte(filehandle, data)</pre>  | * Add to a calculation icon: <pre class="brush:[cpp]">result = ::File.Buffer.WriteByte(filehandle, data)</pre>  | ||
| − | |||
| − | |||
Latest revision as of 11:55, 16 January 2023
| WriteByte | |
| Writes a single byte to the input stream | |
| FileHandle | |
| The handle of an open file | |
| Data | |
| A byte of data to write to the file | |
| 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)