The IC1FileStream type exposes the following members.
Methods
| Name | Description | |
|---|---|---|
| Close |
Closes the file stream.
| |
| Flush()()()() |
Flushes the buffered bytes to the file.
| |
| Flush(Boolean) |
Flushes the buffered bytes to the file.
| |
| Read |
Reads a block of bytes from the file stream.
| |
| ReadByte |
Reads a byte form the file stream.
| |
| Seek |
Seeks to a position in the file stream.
| |
| SetLength |
Sets the length of the file in bytes.
| |
| Write |
Writes a block of bytes to the file stream.
| |
| WriteByte |
Writes a byte to the file stream.
|
Properties
| Name | Description | |
|---|---|---|
| CanRead |
Returns true if its possible to read from the stream.
| |
| CanSeek |
Returns true if its possible to seek in the stream.
| |
| CanWrite |
Returns true if its possible to write to the stream.
| |
| Length |
Size of the file in bytes.
| |
| Name |
Name of the file.
| |
| Position |
Gets or sets the current read/write position in the file stream.
|