BLOB type conversions