LumiSoft Net Help
Write Method (buffer, offset, count)
Namespaces ► LumiSoft.Net.IO ► Base64Stream ► Write(array<Byte>[]()[][], Int32, Int32)
Encodes a sequence of bytes, writes to the current stream and advances the current position within this stream by the number of bytes written.
Declaration Syntax

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

    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

    abstract Write :
            buffer : byte[] *
            offset : int *
            count : int -> unit
    override Write :
            buffer : byte[] *
            offset : int *
            count : int -> unit

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

Exception | Condition
--- | ---
ObjectDisposedException | Is raised when this object is disposed and this method is accessed.
InvalidOperationException | Is raised when this.Finish has been called and this method is accessed.
ArgumentNullException | Is raised when buffer is null reference.
ArgumentException | Is raised when any of the arguments has invalid value.
NotSupportedException | Is raised when reading not supported.

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