The C1FileStream type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| C1FileStream(String, FileMode) |
Creates a new C1FileStream.
| |
| C1FileStream(String, FileMode, FileAccess) |
Creates a new C1FileStream.
| |
| C1FileStream(String, FileMode, FileAccess, FileShare) |
Creates a new C1FileStream.
| |
| C1FileStream(String, FileMode, FileAccess, FileShare, Int32) |
Creates a new C1FileStream.
| |
| C1FileStream(String, FileMode, FileAccess, FileShare, Int32, FileOptions) |
Creates a new C1FileStream.
|
Methods
| Name | Description | |
|---|---|---|
| Close |
Closes the file stream.
(Overrides Stream..::..Close()()()().) | |
| Dispose |
Disposes the file stream.
(Overrides Stream..::..Dispose(Boolean).) | |
| Finalize |
Destructor.
(Overrides Object..::..Finalize()()()().) | |
| Flush()()()() |
Flushes the buffered bytes to the file.
(Overrides Stream..::..Flush()()()().) | |
| Flush(Boolean) |
Flushes the buffered bytes to the file.
| |
| Read |
Reads a block of bytes from the file stream.
(Overrides Stream..::..Read(array<Byte>[]()[][], Int32, Int32).) | |
| ReadByte |
Reads a byte form the file stream.
(Overrides Stream..::..ReadByte()()()().) | |
| Seek |
Seeks to a position in the file stream.
(Overrides Stream..::..Seek(Int64, SeekOrigin).) | |
| SetLength |
Sets the length of the file in bytes.
(Overrides Stream..::..SetLength(Int64).) | |
| Write |
Writes a block of bytes to the file stream.
(Overrides Stream..::..Write(array<Byte>[]()[][], Int32, Int32).) | |
| WriteByte |
Writes a byte to the file stream.
(Overrides Stream..::..WriteByte(Byte).) |
Properties
| Name | Description | |
|---|---|---|
| CanRead |
Returns true if its possible to read from the stream.
(Overrides Stream..::..CanRead.) | |
| CanSeek |
Returns true if its possible to seek in the stream.
(Overrides Stream..::..CanSeek.) | |
| CanWrite |
Returns true if its possible to write to the stream.
(Overrides Stream..::..CanWrite.) | |
| Length |
Size of the file in bytes.
(Overrides Stream..::..Length.) | |
| Name |
Name of the file.
| |
| Position |
Gets or sets the current read/write position in the file stream.
(Overrides Stream..::..Position.) |