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.3.0.0 (4.3.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

Type: Int32
number of buffer read

See Also