FileStream Methods |
The FileStream type exposes the following members.
Name | Description | |
---|---|---|
Close |
Closes current stream.
(Overrides FileStreamClose.) | |
Dispose |
Releases all resources.
(Overrides FileStreamDispose.) | |
Flush |
Clears all buffers for this stream and causes any buffered data to be written to the underlying device.
(Overrides FileStreamFlush.) | |
InitFileStream |
Initializes file stream object.
| |
LogFileOperation |
Logs the file operation. Logs the file operation to the file and to current request log for debugging.
(Inherited from FileStream.) | |
Read |
Reads data from stream and stores them into array.
(Overrides FileStreamRead(Byte, Int32, Int32).) | |
Seek |
Sets the position within the current stream to the specified value.
(Overrides FileStreamSeek(Int64, SeekOrigin).) | |
SetLength |
Set length to stream.
(Overrides FileStreamSetLength(Int64).) | |
Write |
Writes sequence of bytes to stream.
(Overrides FileStreamWrite(Byte, Int32, Int32).) | |
WriteByte |
Writes byte to the stream.
(Overrides FileStreamWriteByte(Byte).) |