GigaSpaces XAP.NET Documentation
Write Method (buffer, offset, count)
Class LibraryGigaSpaces.Core.Internal.PbsReusableReadonlyByteArrayStreamWrite(array<Byte>[]()[][], Int32, Int32)
When overridden in a derived class, writes a sequence of bytes to the current stream and advances the current position within this stream by the number of bytes written.
Declaration Syntax
C#Visual BasicVisual C++J#
public override void Write(
	byte[] buffer,
	int offset,
	int count
)
Public Overrides Sub Write ( _
	buffer As Byte(), _
	offset As Integer, _
	count As Integer _
)
public:
virtual void Write(
	array<unsigned char>^ buffer, 
	int offset, 
	int count
) override
public void Write(
	byte[] buffer,
	int offset,
	int count
)
Parameters
buffer (array<Byte>[]()[][])
An array of bytes. This method copies count bytes from buffer to the current stream.
offset (Int32)
The zero-based byte offset in buffer at which to begin copying bytes to the current stream.
count (Int32)
The number of bytes to be written to the current stream.
Exceptions
ExceptionCondition
ArgumentExceptionThe sum of offset and count is greater than the buffer length.
ArgumentNullExceptionbuffer is null.
ArgumentOutOfRangeExceptionoffset or count is negative.
IOExceptionAn I/O error occurs.
NotSupportedExceptionThe stream does not support writing.
ObjectDisposedExceptionMethods were called after the stream was closed.

Assembly: GigaSpaces.Core (Module: GigaSpaces.Core) Version: 16.1.0.0 (16.1.1)