getBlob

abstract fun getBlob(@IntRange(from = 0) index: Int): ByteArray

Returns the value of the requested column at the given zero-based index as a ByteArray.

If the column value is NULL, an empty byte array is returned.

Return

The value of the column as a ByteArray.

Parameters

index

The zero-based index of the column.

See also

Throws

if the index is out of bounds or the column is not a BLOB.