語言

ZLibStream.Write 方法

定義

多載

名稱 Description
Write(ReadOnlySpan<Byte>)

從指定的位元組區間寫入壓縮的位元組到底層串流。

Write(Byte[], Int32, Int32)

從指定的位元組陣列將壓縮的位元組寫入底層串流。

Write(ReadOnlySpan<Byte>)

來源:
ZLibStream.cs
來源:
ZLibStream.cs
來源:
ZLibStream.cs
來源:
ZLibStream.cs
來源:
ZLibStream.cs

從指定的位元組區間寫入壓縮的位元組到底層串流。

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))

參數

buffer
ReadOnlySpan<Byte>

用來寫入資料的緩衝區。

適用於

Write(Byte[], Int32, Int32)

來源:
ZLibStream.cs
來源:
ZLibStream.cs
來源:
ZLibStream.cs
來源:
ZLibStream.cs
來源:
ZLibStream.cs

從指定的位元組陣列將壓縮的位元組寫入底層串流。

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)

參數

buffer
Byte[]

用來寫入資料的緩衝區。

offset
Int32

開始寫入的緩衝區位元組偏移量。

count
Int32

最大可寫入位元組數。

適用於