LumiSoft Mail Server User API
Write Method (data, offset, count)
Namespaces > LumiSoft.Net.IO > StreamHelper > Write(Byte[](), Int32, Int32)
Writes specified buffer data to source stream.
Syntax

C# | Visual Basic | Managed C++

    public void Write (
    	byte[] data,
    	int offset,
    	int count
    )

    Public Sub Write ( _
    	data As Byte(), _
    	offset As Integer, _
    	count As Integer _
    )

    public:
    void Write (
    	array<unsigned char>^ data,
    	int offset,
    	int count
    )

Parameters

data (Byte[]())
  Data buffer.
offset (Int32)
  The zero-based byte offset in buffer at which to begin copying bytes to the source stream.
count (Int32)
  The number of bytes to be written to the source stream.

Exceptions

Exception | Condition
--- | ---
ArgumentNullException | Raised when data is null.
InvalidOperationException | Raised when there already is pending write operation.

Assembly: LumiSoft.Net Version: 2.0.2636.18419 (Module: LumiSoft.Net)