LumiSoft Net Help
Write Method (buffer, offset, count, ignoreBufferFull)
Namespaces ► LumiSoft.Net.IO ► FifoBuffer ► Write(array<Byte>[]()[][], Int32, Int32, Boolean)
Writes specified number of bytes to the FIFO buffer.
Declaration Syntax

C# | Visual Basic | Visual C++ | F#

    public void Write(
    	byte[] buffer,
    	int offset,
    	int count,
    	bool ignoreBufferFull
    )

    Public Sub Write (
    	buffer As Byte(),
    	offset As Integer,
    	count As Integer,
    	ignoreBufferFull As Boolean
    )

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

    member Write :
            buffer : byte[] *
            offset : int *
            count : int *
            ignoreBufferFull : bool -> unit

Parameters

buffer (array<Byte>[]()[][])
  Data buffer.

offset (Int32)
  Index in the buffer.

count (Int32)
  Number of bytes to wrtite.

ignoreBufferFull (Boolean)
  If true, disables excption raising when FIFO full.

Exceptions

Exception | Condition
--- | ---
ArgumentNullException | Is raised when buffer is null reference.
ArgumentOutOfRangeException | Is raised when any of the arguments has out of allowed range.
DataSizeExceededException | Is raised when ignoreBufferFull = false and FIFO buffer has no room to store data.

Assembly: LumiSoft.Net (Module: LumiSoft.Net.dll) Version: 4.5.5510.19119