Dela via


CRC32C.Update Method

Definition

Overloads

Update(ByteBuffer)

Updates the CRC-32C checksum with the bytes from the specified buffer.

Update(Int32)

Updates the CRC-32C checksum with the specified byte (the low eight bits of the argument b).

Update(Byte[], Int32, Int32)

Updates the CRC-32C checksum with the specified array of bytes.

Update(ByteBuffer)

Updates the CRC-32C checksum with the bytes from the specified buffer.

[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

Parameters

buffer
ByteBuffer

Implements

Attributes

Remarks

Updates the CRC-32C checksum with the bytes from the specified buffer.

The checksum is updated with the remaining bytes in the buffer, starting at the buffer's position. Upon return, the buffer's position will be updated to its limit; its limit will not have been changed.

Java documentation for java.util.zip.CRC32C.update(java.nio.ByteBuffer).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

Update(Int32)

Updates the CRC-32C checksum with the specified byte (the low eight bits of the argument b).

[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

Parameters

b
Int32

Implements

Attributes

Remarks

Updates the CRC-32C checksum with the specified byte (the low eight bits of the argument b).

Java documentation for java.util.zip.CRC32C.update(int).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

Update(Byte[], Int32, Int32)

Updates the CRC-32C checksum with the specified array of bytes.

[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

Parameters

b
Byte[]
off
Int32
len
Int32

Implements

Attributes

Remarks

Updates the CRC-32C checksum with the specified array of bytes.

Java documentation for java.util.zip.CRC32C.update(byte[], int, int).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to