CRC32C.Update 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
| 名称 | 说明 |
|---|---|
| Update(ByteBuffer) |
使用指定缓冲区中的字节更新 CRC-32C 校验和。 |
| Update(Int32) |
使用指定的字节(参数 b 的低八位)更新 CRC-32C 校验和。 |
| 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文档java.util.zip.CRC32C.update(java.nio.ByteBuffer)。
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。
适用于
Update(Int32)
使用指定的字节(参数 b 的低八位)更新 CRC-32C 校验和。
[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
实现
- 属性
注解
使用指定的字节(参数 b 的低八位)更新 CRC-32C 校验和。
Java文档java.util.zip.CRC32C.update(int)。
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。
适用于
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文档java.util.zip.CRC32C.update(byte[], int, int)。
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。