[]
        
(Showing Draft Content)

C1.Util.DX.Storage.NativeFileStream

NativeFileStream Class

Windows File Helper.

Inheritance
NativeFileStream
Implements
Namespace: C1.Util.DX.Storage
Assembly: C1.Win.C1DX.4.8.dll
Syntax
public class NativeFileStream : Stream, IDisposable

Constructors

Name Description
NativeFileStream(string, NativeFileMode, NativeFileAccess, NativeFileShare)

Initializes a new instance of the NativeFileStream class.

Properties

Name Description
CanRead
CanSeek
CanWrite
Handle

Gets the stream handle.

Length
Position

Methods

Name Description
Dispose(bool)
Flush()
Read(byte[], int, int)
Read(IntPtr, int, int)

Reads a block of bytes from the stream and writes the data in a given buffer.

Seek(long, SeekOrigin)
SetLength(long)
Write(byte[], int, int)
Write(IntPtr, int, int)

Writes a block of bytes to this stream using data from a buffer.