update

abstract fun update(input: Byte)(source)

Updates the instance with the specified byte.

Parameters

input

The byte to update the instance with.


abstract fun update(input: ByteArray)(source)

Updates the instance with the specified array of bytes.

Parameters

input

The array of bytes to update the instance with.


abstract fun update(input: ByteArray, offset: Int, len: Int)(source)

Updates the instance with the specified array of bytes, starting at offset

Parameters

input

The array of bytes to update the instance with.

offset

The index to start from in the array of bytes.

len

The number of bytes to use, starting at offset.

Throws

IllegalArgumentException

if input size is inappropriate for given len parameter.

IndexOutOfBoundsException

if offset and len are inappropriate.