Writes buffer to the current stream and advances the stream position. This method writes directly to 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 void Write(
	byte[] buffer,
	int index,
	int count
)
Visual Basic
Public MustOverride Sub Write ( _
	buffer As Byte(), _
	index As Integer, _
	count As Integer _
)
Visual C++
public:
virtual void Write(
	array<unsigned char>^ buffer, 
	int index, 
	int count
) abstract

Parameters

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

See Also