Jump to content

API File.Buffer: Difference between revisions

From Flowcode Help
Admin (talk | contribs)
XML import API auto-gen
Admin (talk | contribs)
XML import
Line 2: Line 2:
Reads writes and monitors circular buffers
Reads writes and monitors circular buffers


===Functions provided for this class===
==Functions provided for this class==
{||-|[[API File.Buffer.Open|Open]]|Opens the existing file as a circular buffer|-|[[API File.Buffer.Create|Create]]|Creates the new file as a circular buffer|-|[[API File.Buffer.ReadByte|ReadByte]]|Reads a single byte from the input stream, -1 if empty|-|[[API File.Buffer.WriteByte|WriteByte]]|Writes a single byte to the input stream|-|[[API File.Buffer.ReadArray|ReadArray]]|Reads an array from the input stream, returns elements read|-|[[API File.Buffer.WriteArray|WriteArray]]|Writes an array to the input stream|}
{|
|-
|width="35%"|[[API File.Buffer.Open|Open]]
|Opens the existing file as a circular buffer
|-
|width="35%"|[[API File.Buffer.Create|Create]]
|Creates the new file as a circular buffer
|-
|width="35%"|[[API File.Buffer.ReadByte|ReadByte]]
|Reads a single byte from the input stream, -1 if empty
|-
|width="35%"|[[API File.Buffer.WriteByte|WriteByte]]
|Writes a single byte to the input stream
|-
|width="35%"|[[API File.Buffer.ReadArray|ReadArray]]
|Reads an array from the input stream, returns elements read
|-
|width="35%"|[[API File.Buffer.WriteArray|WriteArray]]
|Writes an array to the input stream
|}


===Examples===
 
==Examples==
''No examples available''

Revision as of 21:14, 11 May 2013

<sidebar>API contents</sidebar> Reads writes and monitors circular buffers

Functions provided for this class

Open Opens the existing file as a circular buffer
Create Creates the new file as a circular buffer
ReadByte Reads a single byte from the input stream, -1 if empty
WriteByte Writes a single byte to the input stream
ReadArray Reads an array from the input stream, returns elements read
WriteArray Writes an array to the input stream


Examples

No examples available