Reads an object of type [!:byte[]] from the current stream and advances the stream position. 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 byte[] ReadBytes(
	int count
)
Visual Basic
Public MustOverride Function ReadBytes ( _
	count As Integer _
) As Byte()
Visual C++
public:
virtual array<unsigned char>^ ReadBytes(
	int count
) abstract

Parameters

count
Type: System..::..Int32
number of bytes read

Return Value

object read from the stream

See Also