22#include <com/sun/star/io/BufferSizeExceededException.hpp>
23#include <com/sun/star/io/IOException.hpp>
24#include <com/sun/star/io/NotConnectedException.hpp>
34 throw css::io::NotConnectedException(OUString(), getXWeak());
37 throw css::io::BufferSizeExceededException(OUString(), getXWeak());
40 if (
aData.getLength() < nBytesToRead)
41 aData.realloc(nBytesToRead);
48 throw css::io::IOException(OUString(), getXWeak());
52 aData.realloc( nRead );
80 sal_Int32 nMaxBytesToRead)
90 throw css::io::NotConnectedException(OUString(), getXWeak());
93 throw css::io::BufferSizeExceededException(OUString(), getXWeak());
100 std::scoped_lock aGuard(
m_aMutex );
102 throw css::io::NotConnectedException(OUString(), getXWeak());
109 std::scoped_lock aGuard(
m_aMutex );
111 throw css::io::NotConnectedException(OUString(), getXWeak());
118 cppu::WeakImplHelper<css::io::XInputStream, css::io::XSeekable>::acquire();
constexpr OUStringLiteral aData
constexpr std::enable_if_t< std::is_signed_v< T >, std::make_unsigned_t< T > > make_unsigned(T value)