MessageDigestSpi.EngineUpdate 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
| 名稱 | Description |
|---|---|
| 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 更新摘要。 摘要是從 開始input.position()的input.remaining()位元組更新的。 返回時,緩衝區的位置將等於其極限;其極限不會改變。
已在1.5中新增。
Java 文件 java.security.MessageDigestSpi.engineUpdate(java.nio.ByteBuffer)。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。
適用於
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)。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。
另請參閱
適用於
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位元組數。
- 屬性
例外狀況
若 offset 對 有效,則 len 若 不成立 input。
備註
從指定的偏移量開始,使用指定的位元組陣列更新摘要。
Java 文件 java.security.MessageDigestSpi.engineUpdate(byte[], int, int)。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。