WpfDocumentPreviewer.StreamWrapper.Read C# (CSharp) Méthode

Read() public méthode

Reads a sequence of bytes from the underlying System.IO.Stream.
public Read ( byte pv, int cb, IntPtr pcbRead ) : void
pv byte
cb int
pcbRead System.IntPtr
Résultat void
		public void Read(byte[] pv, int cb, IntPtr pcbRead) {
			int bytesRead = mInner.Read(pv, 0, cb);
			if (pcbRead != IntPtr.Zero) Marshal.WriteInt32(pcbRead, bytesRead);
		}