ZLibStream.Write 方法

定義

多載

Write(ReadOnlySpan<Byte>)

從指定的位元組範圍將壓縮的位元組寫入基礎數據流。

Write(Byte[], Int32, Int32)

從指定的位元組陣列將壓縮的位元組寫入基礎資料流。

Write(ReadOnlySpan<Byte>)

來源:
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

從指定的位元組陣列將壓縮的位元組寫入基礎資料流。

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

寫入的最大位元組數。

適用於