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
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