語言

CRC32C.Update 方法

定義

多載

名稱 Description
Update(ByteBuffer)

更新 CRC-32C 校驗和,使用指定緩衝區的位元組。

Update(Int32)

更新 CRC-32C 校驗和,包含指定的位元組(參數 b 的最低 8 位元)。

Update(Byte[], Int32, Int32)

更新 CRC-32C 校驗和,並使用指定的位元組陣列。

Update(ByteBuffer)

更新 CRC-32C 校驗和,使用指定緩衝區的位元組。

[Android.Runtime.Register("update", "(Ljava/nio/ByteBuffer;)V", "", ApiSince=34)]
public void Update(Java.Nio.ByteBuffer? buffer);
[<Android.Runtime.Register("update", "(Ljava/nio/ByteBuffer;)V", "", ApiSince=34)>]
abstract member Update : Java.Nio.ByteBuffer -> unit
override this.Update : Java.Nio.ByteBuffer -> unit

參數

buffer
ByteBuffer

實作

屬性

備註

更新 CRC-32C 校驗和,使用指定緩衝區的位元組。

校驗和會隨著緩衝區中剩餘的位元組更新,從緩衝區的位置開始。 返回時,緩衝區的位置會更新至其極限;其限制不會被更改。

java.util.zip.CRC32C.update(java.nio.ByteBuffer)Java 檔。

此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。

適用於

Update(Int32)

更新 CRC-32C 校驗和,包含指定的位元組(參數 b 的最低 8 位元)。

[Android.Runtime.Register("update", "(I)V", "", ApiSince=34)]
public void Update(int b);
[<Android.Runtime.Register("update", "(I)V", "", ApiSince=34)>]
abstract member Update : int -> unit
override this.Update : int -> unit

參數

b
Int32

實作

屬性

備註

更新 CRC-32C 校驗和,包含指定的位元組(參數 b 的最低 8 位元)。

java.util.zip.CRC32C.update(int)Java 檔。

此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。

適用於

Update(Byte[], Int32, Int32)

更新 CRC-32C 校驗和,並使用指定的位元組陣列。

[Android.Runtime.Register("update", "([BII)V", "", ApiSince=34)]
public void Update(byte[]? b, int off, int len);
[<Android.Runtime.Register("update", "([BII)V", "", ApiSince=34)>]
abstract member Update : byte[] * int * int -> unit
override this.Update : byte[] * int * int -> unit

參數

b
Byte[]
off
Int32
len
Int32

實作

屬性

備註

更新 CRC-32C 校驗和,並使用指定的位元組陣列。

java.util.zip.CRC32C.update(byte[], int, int)Java 檔。

此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。

適用於