Reads the specifies number of bytes into buffer. This method reads directly from the underlying stream.

Namespace: Alachisoft.NCache.Runtime.Serialization.IO
Assembly: Alachisoft.NCache.Runtime (in Alachisoft.NCache.Runtime.dll) Version: 4.1.0.0 (4.1.0.0)

Syntax

C#
public abstract int Read(
	byte[] buffer,
	int index,
	int count
)
Visual Basic
Public MustOverride Function Read ( _
	buffer As Byte(), _
	index As Integer, _
	count As Integer _
) As Integer
Visual C++
public:
virtual int Read(
	array<unsigned char>^ buffer, 
	int index, 
	int count
) abstract

Parameters

buffer
Type: array<System..::..Byte>[]()[][]
buffer to read into
index
Type: System..::..Int32
starting position in the buffer
count
Type: System..::..Int32
number of bytes to write

Return Value

number of buffer read

See Also