C# 클래스 Microsoft.DiaSymReader.ComStreamWrapper

상속: IStream
파일 보기 프로젝트 열기: dotnet/symreader

공개 메소드들

메소드 설명
Clone ( IStream &ppstm ) : void
Commit ( int grfCommitFlags ) : void
CopyTo ( IStream pstm, long cb, IntPtr pcbRead, IntPtr pcbWritten ) : void
LockRegion ( long libOffset, long cb, int lockType ) : void
Read ( byte pv, int cb, IntPtr pcbRead ) : void

The actual number of bytes read can be fewer than the number of bytes requested if an error occurs or if the end of the stream is reached during the read operation.

Revert ( ) : void
Seek ( long dlibMove, int origin, IntPtr plibNewPosition ) : void
SetSize ( long libNewSize ) : void
Stat ( STATSTG &pstatstg, int grfStatFlag ) : void
UnlockRegion ( long libOffset, long cb, int lockType ) : void
Write ( byte pv, int cb, IntPtr pcbWritten ) : void

비공개 메소드들

메소드 설명
ComStreamWrapper ( Stream stream ) : System
TryReadAll ( Stream stream, byte buffer, int offset, int count ) : int

Attempts to read all of the requested bytes from the stream into the buffer

Unlike Stream.Read(byte[], int, int) it is not guaranteed that the stream position or the output buffer will be unchanged if an exception is returned.

메소드 상세

Clone() 공개 메소드

public Clone ( IStream &ppstm ) : void
ppstm IStream
리턴 void

Commit() 공개 메소드

public Commit ( int grfCommitFlags ) : void
grfCommitFlags int
리턴 void

CopyTo() 공개 메소드

public CopyTo ( IStream pstm, long cb, IntPtr pcbRead, IntPtr pcbWritten ) : void
pstm IStream
cb long
pcbRead System.IntPtr
pcbWritten System.IntPtr
리턴 void

LockRegion() 공개 메소드

public LockRegion ( long libOffset, long cb, int lockType ) : void
libOffset long
cb long
lockType int
리턴 void

Read() 공개 메소드

The actual number of bytes read can be fewer than the number of bytes requested if an error occurs or if the end of the stream is reached during the read operation.
public Read ( byte pv, int cb, IntPtr pcbRead ) : void
pv byte
cb int
pcbRead System.IntPtr
리턴 void

Revert() 공개 메소드

public Revert ( ) : void
리턴 void

Seek() 공개 메소드

public Seek ( long dlibMove, int origin, IntPtr plibNewPosition ) : void
dlibMove long
origin int
plibNewPosition System.IntPtr
리턴 void

SetSize() 공개 메소드

public SetSize ( long libNewSize ) : void
libNewSize long
리턴 void

Stat() 공개 메소드

public Stat ( STATSTG &pstatstg, int grfStatFlag ) : void
pstatstg System.Runtime.InteropServices.ComTypes.STATSTG
grfStatFlag int
리턴 void

UnlockRegion() 공개 메소드

public UnlockRegion ( long libOffset, long cb, int lockType ) : void
libOffset long
cb long
lockType int
리턴 void

Write() 공개 메소드

public Write ( byte pv, int cb, IntPtr pcbWritten ) : void
pv byte
cb int
pcbWritten System.IntPtr
리턴 void