PowerTCP Zip Compression for .NET
Write Method (ZipDecryptingStream)




Contains the data to be written.
The zero-based position in the buffer from which to begin writing from.
The number of bytes to write.
Writes a sequence of bytes to the Stream and returns when the operation is complete.
Syntax
Public Overrides Sub Write( _
   ByVal buffer() As Byte, _
   ByVal offset As Integer, _
   ByVal count As Integer _
) 
Dim instance As ZipDecryptingStream
Dim buffer() As Byte
Dim offset As Integer
Dim count As Integer
 
instance.Write(buffer, offset, count)
public override void Write( 
   byte[] buffer,
   int offset,
   int count
)
public: void Write( 
   byte[]* buffer,
   int offset,
   int count
) override 
public:
void Write( 
   array<byte>^ buffer,
   int offset,
   int count
) override 

Parameters

buffer
Contains the data to be written.
offset
The zero-based position in the buffer from which to begin writing from.
count
The number of bytes to write.
Exceptions
ExceptionDescription
System.IO.IOExceptionThrown when the Stream is not writable.
System.ArgumentNullExceptionThrown when the buffer is null.
System.ArgumentOutOfRangeExceptionThrown when the offset is less than zero or when count is less than or equal to zero.
System.ArgumentExceptionThrown when the (offset + count) > buffer.Length.
Remarks

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.

See Also

Reference

ZipDecryptingStream Class
ZipDecryptingStream Members


PowerTCP Zip for .NET Documentation Version 2.1.1
© 2018 Dart Communications. All Rights Reserved.
Send comments on this topic