MacSpi.EngineUpdate Method

Definition

Overloads

EngineUpdate(ByteBuffer)

Processes input.remaining() bytes in the ByteBuffer input, starting at input.position().

EngineUpdate(SByte)

Processes the given byte.

EngineUpdate(Byte[], Int32, Int32)

Processes the first len bytes in input, starting at offset inclusive.

EngineUpdate(ByteBuffer)

Processes input.remaining() bytes in the ByteBuffer input, starting at input.position().

[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

Parameters

input
ByteBuffer

the ByteBuffer

Attributes

Remarks

Processes input.remaining() bytes in the ByteBuffer input, starting at input.position(). Upon return, the buffer's position will be equal to its limit; its limit will not have changed.

Subclasses should consider overriding this method if they can process ByteBuffers more efficiently than byte arrays.

Added in 1.5.

Java documentation for javax.crypto.MacSpi.engineUpdate(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

EngineUpdate(SByte)

Processes the given byte.

[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

Parameters

input
SByte

the input byte to be processed.

Attributes

Remarks

Processes the given byte.

Java documentation for javax.crypto.MacSpi.engineUpdate(byte).

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

EngineUpdate(Byte[], Int32, Int32)

Processes the first len bytes in input, starting at offset inclusive.

[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

Parameters

input
Byte[]

the input buffer.

offset
Int32

the offset in input where the input starts.

len
Int32

the number of bytes to process.

Attributes

Remarks

Processes the first len bytes in input, starting at offset inclusive.

Java documentation for javax.crypto.MacSpi.engineUpdate(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