lobLib.getBlobLen() システム関数は、BLOB 変数が参照する値のバイト数を戻します。
lobLib.getBlobLen(blobVariable BLOB in) returns (result BIGINT)