Bitmap for WPF
Read(IntPtr,Int32,Int32) メソッド

C1.WPF.DX.4.5.2 アセンブリ > C1.Util.DX.Storage 名前空間 > NativeFileStream クラス > Read メソッド : Read(IntPtr,Int32,Int32) メソッド
When this method returns, contains the specified buffer with the values between offset and (offset + count - 1) replaced by the bytes read from the current source.
The byte offset in array at which the read bytes will be placed.
The maximum number of bytes to read.
Reads a block of bytes from the stream and writes the data in a given buffer.
シンタックス
'宣言
 
Public Overloads Function Read( _
   ByVal buffer As System.IntPtr, _
   ByVal offset As System.Integer, _
   ByVal count As System.Integer _
) As System.Integer
public System.int Read( 
   System.IntPtr buffer,
   System.int offset,
   System.int count
)

パラメータ

buffer
When this method returns, contains the specified buffer with the values between offset and (offset + count - 1) replaced by the bytes read from the current source.
offset
The byte offset in array at which the read bytes will be placed.
count
The maximum number of bytes to read.

戻り値の型

The total number of bytes read into the buffer. This might be less than the number of bytes requested if that number of bytes are not currently available, or zero if the end of the stream is reached.
例外
例外解説
array is null.
参照

NativeFileStream クラス
NativeFileStream メンバ
オーバーロード一覧