22#include <com/sun/star/sdbc/SQLException.hpp>
30BlobHelper::BlobHelper(
const css::uno::Sequence< sal_Int8 >& _val) : m_aValue(_val)
41 if ( sal_Int32(
pos + _length) >
m_aValue.getLength() )
42 throw css::sdbc::SQLException();
43 return css::uno::Sequence< ::sal_Int8 >(
m_aValue.getConstArray() + sal_Int32(
pos),_length);
48 return new ::comphelper::SequenceInputStream(
m_aValue);
css::uno::Sequence< sal_Int8 > m_aValue
virtual css::uno::Reference< css::io::XInputStream > SAL_CALL getBinaryStream() override
virtual ::sal_Int64 SAL_CALL position(const css::uno::Sequence< ::sal_Int8 > &pattern, ::sal_Int64 start) override
virtual ::sal_Int64 SAL_CALL positionOfBlob(const css::uno::Reference< css::sdbc::XBlob > &pattern, ::sal_Int64 start) override
virtual css::uno::Sequence< ::sal_Int8 > SAL_CALL getBytes(::sal_Int64 pos, ::sal_Int32 length) override
virtual ::sal_Int64 SAL_CALL length() override