core-ktx / androidx.database / android.database.Cursor / getBlob

getBlob

inline fun Cursor.getBlob(columnName: String): ByteArray

Returns the value of the requested column as a byte array.

The result and whether this method throws an exception when the column value is null or the column type is not a blob type is implementation-defined.

See Also

Cursor.getColumnIndexOrThrow

Cursor.getBlob