Writes a sequence of bytes to the current stream and advances the current position within this stream by the number of bytes written.

Namespace: Alachisoft.NCache.Web.Caching
Assembly: Alachisoft.NCache.Web (in Alachisoft.NCache.Web.dll) Version: 4.3.0.0 (4.3.0.0)

Syntax

C#
public override void Write(
	byte[] buffer,
	int offset,
	int count
)
Visual Basic
Public Overrides Sub Write ( 
	buffer As Byte(),
	offset As Integer,
	count As Integer
)
Visual C++
public:
virtual void Write(
	array<unsigned char>^ buffer, 
	int offset, 
	int count
) override

Parameters

buffer
Type: array<System..::..Byte>[]()[][]
An array of bytes. This method copies count bytes from buffer to the current stream.
offset
Type: System..::..Int32
The zero-based byte offset in buffer at which to begin copying bytes to the current stream.
count
Type: System..::..Int32
The number of bytes to be written to the current stream.

Remarks

This method is not thread-safe

Exceptions

See Also