Rediger

Del via


ZLibStream.Write Method

Definition

Overloads

Write(ReadOnlySpan<Byte>)

Writes compressed bytes to the underlying stream from the specified byte span.

Write(Byte[], Int32, Int32)

Writes compressed bytes to the underlying stream from the specified byte array.

Write(ReadOnlySpan<Byte>)

Source:
ZLibStream.cs
Source:
ZLibStream.cs
Source:
ZLibStream.cs

Writes compressed bytes to the underlying stream from the specified byte span.

public:
 override void Write(ReadOnlySpan<System::Byte> buffer);
public override void Write (ReadOnlySpan<byte> buffer);
override this.Write : ReadOnlySpan<byte> -> unit
Public Overrides Sub Write (buffer As ReadOnlySpan(Of Byte))

Parameters

buffer
ReadOnlySpan<Byte>

The buffer to write data from.

Applies to

Write(Byte[], Int32, Int32)

Source:
ZLibStream.cs
Source:
ZLibStream.cs
Source:
ZLibStream.cs

Writes compressed bytes to the underlying stream from the specified byte array.

public:
 override void Write(cli::array <System::Byte> ^ buffer, int offset, int count);
public override void Write (byte[] buffer, int offset, int count);
override this.Write : byte[] * int * int -> unit
Public Overrides Sub Write (buffer As Byte(), offset As Integer, count As Integer)

Parameters

buffer
Byte[]

The buffer to write data from.

offset
Int32

The byte offset in buffer to begin writing from.

count
Int32

The maximum number of bytes to write.

Applies to