C# Class Microsoft.DiaSymReader.ComStreamWrapper

Inheritance: IStream
Afficher le fichier Open project: dotnet/symreader

Méthodes publiques

Méthode Description
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

Private Methods

Méthode Description
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.

Method Details

Clone() public méthode

public Clone ( IStream &ppstm ) : void
ppstm IStream
Résultat void

Commit() public méthode

public Commit ( int grfCommitFlags ) : void
grfCommitFlags int
Résultat void

CopyTo() public méthode

public CopyTo ( IStream pstm, long cb, IntPtr pcbRead, IntPtr pcbWritten ) : void
pstm IStream
cb long
pcbRead System.IntPtr
pcbWritten System.IntPtr
Résultat void

LockRegion() public méthode

public LockRegion ( long libOffset, long cb, int lockType ) : void
libOffset long
cb long
lockType int
Résultat void

Read() public méthode

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
Résultat void

Revert() public méthode

public Revert ( ) : void
Résultat void

Seek() public méthode

public Seek ( long dlibMove, int origin, IntPtr plibNewPosition ) : void
dlibMove long
origin int
plibNewPosition System.IntPtr
Résultat void

SetSize() public méthode

public SetSize ( long libNewSize ) : void
libNewSize long
Résultat void

Stat() public méthode

public Stat ( STATSTG &pstatstg, int grfStatFlag ) : void
pstatstg System.Runtime.InteropServices.ComTypes.STATSTG
grfStatFlag int
Résultat void

UnlockRegion() public méthode

public UnlockRegion ( long libOffset, long cb, int lockType ) : void
libOffset long
cb long
lockType int
Résultat void

Write() public méthode

public Write ( byte pv, int cb, IntPtr pcbWritten ) : void
pv byte
cb int
pcbWritten System.IntPtr
Résultat void