XtsStream.Write Method
Namespace: Rebex.Security
Assembly: Rebex.Security.dll (version 7.0.9313)
Write(Byte[], Int32, Int32)
Writes a sequence of bytes to the stream and advances the current position within this stream by the number of bytes written.
Declaration
public override void Write(byte[] buffer, int offset, int count)
Parameters
| Type | Name | Description | 
|---|---|---|
| Byte[] | buffer | An array of bytes. This method copies   | 
    
| Int32 | offset | The zero-based byte offset in   | 
    
| Int32 | count | The number of bytes to be written to the stream.  | 
    
Overrides
Exceptions
| Type | Condition | 
|---|---|
| ArgumentException | The sum of   | 
    
| ArgumentNullException | 
  | 
    
| ArgumentOutOfRangeException | 
  | 
    
| IOException | An I/O error occurs.  | 
    
| NotSupportedException | The stream does not support writing.  | 
    
| ObjectDisposedException | Methods were called after the stream was closed.  |