DotNetCompression Class Reference for Windows Phone
Write Method (Lzf4OutputStream)






An array of bytes that contains the bytes to be written into this stream.
The zero-based byte offset in buffer at which the bytes to be written start.
The number of bytes to be written.
Writes bytes from the specified byte array into this stream.
Syntax
'Declaration
 
Public Overrides Sub Write( _
   ByVal buffer() As System.Byte, _
   ByVal offset As System.Integer, _
   ByVal count As System.Integer _
) 
'Usage
 
Dim instance As Lzf4OutputStream
Dim buffer() As System.Byte
Dim offset As System.Integer
Dim count As System.Integer
 
instance.Write(buffer, offset, count)
public override void Write( 
   System.byte[] buffer,
   System.int offset,
   System.int count
)
public procedure Write( 
    buffer: System.Bytearray of;
    offset: System.Integer;
    count: System.Integer
); override; 
public override function Write( 
   buffer : System.byte[],
   offset : System.int,
   count : System.int
);
public: void Write( 
   System.byte[]* buffer,
   System.int offset,
   System.int count
) override 
public:
void Write( 
   System.array<byte>^ buffer,
   System.int offset,
   System.int count
) override 

Parameters

buffer
An array of bytes that contains the bytes to be written into this stream.
offset
The zero-based byte offset in buffer at which the bytes to be written start.
count
The number of bytes to be written.
Remarks
Write does not always result in compressed data being flushed to the underlying stream. Use Flush or System.IO.Stream.Close to make sure that all data written to this stream is compressed and flushed to the underlying stream.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

Lzf4OutputStream Class
Lzf4OutputStream Members
Base Implementation in Write

Send Feedback