C# Class System.IO.UnmanagedMemoryStream

Inheritance: Stream
ファイルを表示 Open project: dotnet/corefx Class Usage Examples

Private Properties

Property Type Description
Dispose void
Initialize void
Read int
ReadByte int
SetLength void
UnmanagedMemoryStream System
Write void
WriteByte void

Public Methods

Method Description
Flush ( ) : void
Seek ( long offset, SeekOrigin loc ) : long
UnmanagedMemoryStream ( byte pointer, long length ) : System
UnmanagedMemoryStream ( byte pointer, long length, long capacity, FileAccess access ) : System

Protected Methods

Method Description
Initialize ( byte pointer, long length, long capacity, FileAccess access ) : void
UnmanagedMemoryStream ( ) : System

Private Methods

Method Description
Dispose ( bool disposing ) : void
Initialize ( byte pointer, long length, long capacity, FileAccess access, bool skipSecurityCheck ) : void
Read ( [ buffer, int offset, int count ) : int
ReadByte ( ) : int
SetLength ( long value ) : void
UnmanagedMemoryStream ( byte pointer, long length, long capacity, FileAccess access, bool skipSecurityCheck ) : System
Write ( byte buffer, int offset, int count ) : void
WriteByte ( byte value ) : void

Method Details

Flush() public method

public Flush ( ) : void
return void

Initialize() protected method

protected Initialize ( byte pointer, long length, long capacity, FileAccess access ) : void
pointer byte
length long
capacity long
access FileAccess
return void

Seek() public method

public Seek ( long offset, SeekOrigin loc ) : long
offset long
loc SeekOrigin
return long

UnmanagedMemoryStream() protected method

protected UnmanagedMemoryStream ( ) : System
return System

UnmanagedMemoryStream() public method

public UnmanagedMemoryStream ( byte pointer, long length ) : System
pointer byte
length long
return System

UnmanagedMemoryStream() public method

public UnmanagedMemoryStream ( byte pointer, long length, long capacity, FileAccess access ) : System
pointer byte
length long
capacity long
access FileAccess
return System