Dart.PowerTCP.Zip Namespace > UtilityStream Class : Write Method |
Public Overrides Sub Write( _ ByVal buffer() As Byte, _ ByVal offset As Integer, _ ByVal count As Integer _ )
Dim instance As UtilityStream Dim buffer() As Byte Dim offset As Integer Dim count As Integer instance.Write(buffer, offset, count)
Exception | Description |
---|---|
System.IO.IOException | Thrown when the Stream is not writable. |
System.ArgumentNullException | Thrown when the buffer is null. |
System.ArgumentOutOfRangeException | Thrown when the offset is less than zero or when count is less than or equal to zero. |
System.ArgumentException | Thrown when the (offset + count) > buffer.Length. |
This method copies bytes contained in buffer to the Stream, starting from the position specified by offset and writing the number of bytes specified by count.