Jump to content

API File.Buffer.WriteByte: Difference between revisions

From Flowcode Help
Admin (talk | contribs)
XML import
Admin (talk | contribs)
XML import
Line 3: Line 3:


<div style="width:25%; float:right" class="toc">
<div style="width:25%; float:right" class="toc">
===Class hierarchy===[[API File|File]]
====Class hierarchy====
[[API File|File]]
:[[API File.Buffer|Buffer]]
:[[API File.Buffer|Buffer]]
::[[API File.Buffer|WriteByte]]
::[[API File.Buffer|WriteByte]]
Line 10: Line 11:


==Parameters==
==Parameters==
''[[Variable types|HANDLE]] FileHandle''
[[Variable types|HANDLE]] ''FileHandle''
:The handle of an open file
:The handle of an open file


''[[Variable types|BYTE]] Data''
[[Variable types|BYTE]] ''Data''
:A byte of data to write to the file
:A byte of data to write to the file


Line 19: Line 20:
[[Variable types|BOOL]]
[[Variable types|BOOL]]


No additional information
''<span style="color:red;">No additional information</span>''
 
 


==Detailed description==
==Detailed description==
''No additional information''
''<span style="color:red;">No additional information</span>''
 


==Examples==
==Examples==
Line 28: Line 32:
* 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>
''<span style="color:red;">No additional information</span>''

Revision as of 22:11, 11 May 2013

<sidebar>API contents</sidebar> Writes a single byte to the input stream

Class hierarchy

File

Buffer
WriteByte

Parameters

HANDLE FileHandle

The handle of an open file

BYTE Data

A byte of data to write to the file

Return value

BOOL

No additional information


Detailed description

No additional information


Examples

Calling in a calculation

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

No additional information