MessageDigestSpi.EngineUpdate 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
| 名称 | 说明 |
|---|---|
| EngineUpdate(ByteBuffer) |
使用指定的 ByteBuffer 更新摘要。 |
| EngineUpdate(SByte) |
使用指定的字节更新摘要。 |
| EngineUpdate(Byte[], Int32, Int32) |
使用指定的字节数组更新摘要,从指定的偏移量开始。 |
EngineUpdate(ByteBuffer)
使用指定的 ByteBuffer 更新摘要。
[Android.Runtime.Register("engineUpdate", "(Ljava/nio/ByteBuffer;)V", "GetEngineUpdate_Ljava_nio_ByteBuffer_Handler")]
protected virtual void EngineUpdate(Java.Nio.ByteBuffer? input);
[<Android.Runtime.Register("engineUpdate", "(Ljava/nio/ByteBuffer;)V", "GetEngineUpdate_Ljava_nio_ByteBuffer_Handler")>]
abstract member EngineUpdate : Java.Nio.ByteBuffer -> unit
override this.EngineUpdate : Java.Nio.ByteBuffer -> unit
参数
- input
- ByteBuffer
ByteBuffer
- 属性
注解
使用指定的 ByteBuffer 更新摘要。 摘要使用从以下input.position()位置开始的input.remaining()字节进行更新。 返回后,缓冲区的位置将等于其限制;其限制不会更改。
在 1.5 中添加。
Java文档java.security.MessageDigestSpi.engineUpdate(java.nio.ByteBuffer)。
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。
适用于
EngineUpdate(SByte)
使用指定的字节更新摘要。
[Android.Runtime.Register("engineUpdate", "(B)V", "GetEngineUpdate_BHandler")]
protected abstract void EngineUpdate(sbyte input);
[<Android.Runtime.Register("engineUpdate", "(B)V", "GetEngineUpdate_BHandler")>]
abstract member EngineUpdate : sbyte -> unit
参数
- input
- SByte
要用于更新的字节。
- 属性
注解
使用指定的字节更新摘要。
Java文档java.security.MessageDigestSpi.engineUpdate(byte)。
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。
另请参阅
适用于
EngineUpdate(Byte[], Int32, Int32)
使用指定的字节数组更新摘要,从指定的偏移量开始。
[Android.Runtime.Register("engineUpdate", "([BII)V", "GetEngineUpdate_arrayBIIHandler")]
protected abstract void EngineUpdate(byte[]? input, int offset, int len);
[<Android.Runtime.Register("engineUpdate", "([BII)V", "GetEngineUpdate_arrayBIIHandler")>]
abstract member EngineUpdate : byte[] * int * int -> unit
参数
- input
- Byte[]
要用于更新的字节数组。
- offset
- Int32
要从字节数组中开始的偏移量。
- len
- Int32
要使用的字节数,从 .offset
- 属性
例外
如果
注解
使用指定的字节数组更新摘要,从指定的偏移量开始。
Java文档java.security.MessageDigestSpi.engineUpdate(byte[], int, int)。
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。