WpfDocumentPreviewer.StreamWrapper.Read C# (CSharp) Method

Read() public method

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
return 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);
		}