BlockAllocatedMemoryStreamWrite(Byte, Int32, Int32) Method
Writes a block of bytes to the current stream using data read from buffer.
Namespace: Gemstone.IOAssembly: Gemstone.Common (in Gemstone.Common.dll) Version: 1.0.128 -- Release Build+d050cfc5563c89a1188cc3c6b2d417530856f490
public override void Write(
byte[] buffer,
int startIndex,
int length
)
Public Overrides Sub Write (
buffer As Byte(),
startIndex As Integer,
length As Integer
)
public:
virtual void Write(
array<unsigned char>^ buffer,
int startIndex,
int length
) override
function Write(buffer, startIndex, length);
Parameters
- buffer Byte
- The buffer to write data from.
- startIndex Int32
- The byte offset in buffer at which to begin writing from.
- length Int32
- The maximum number of bytes to write.
ArgumentNullException | buffer is null. |
ArgumentOutOfRangeException | startIndex or length is less than 0 -or-
startIndex and length will exceed buffer length.
|
ObjectDisposedException | The stream is closed. |