FileStream: WriteBlock

WriteBlock

Writes an array of bytes to the stream.



 Public Sub WriteBlock(
	  ByRef Bytes ( ) As Byte,
	  ByVal Offset As Long,
	  ByVal Count As Long )

Parameters

Bytes
[ByRef] Byte. The source array to write to the stream.
Offset
[ByVal] Long. The index of the first byte in Buffer to be written to the stream.
Count
[ByVal] Long. The number of bytes to write from the array.

Remarks

The data to be written is buffered if there is enough room, otherwise, any data in the buffer is written to the stream, followed by the data in Buffer.

See Also

Project CorLib Overview

Class FileStream Overview