update

abstract fun update(source: ByteArray, startIndex: Int = 0, endIndex: Int = source.size)(source)

Feeds data from the source byte array into this function. Only the portion from startIndex (inclusive) to endIndex (exclusive) is processed.


open fun update(source: ByteString, startIndex: Int = 0, endIndex: Int = source.size)(source)

Feeds data from the source byte string into this function. Only the portion from startIndex (inclusive) to endIndex (exclusive) is processed.


open fun update(source: RawSource)(source)

Reads all available data from the source and feeds it into this function.