LibreOffice Module package (master) 1
|
#include <ByteChucker.hxx>
Public Member Functions | |
ByteChucker (css::uno::Reference< css::io::XOutputStream > const &xOstream) | |
~ByteChucker () | |
void | WriteBytes (const css::uno::Sequence< sal_Int8 > &aData) |
sal_Int64 | GetPosition () |
void | WriteInt16 (sal_Int16 nInt16) |
void | WriteInt32 (sal_Int32 nInt32) |
void | WriteUInt32 (sal_uInt32 nuInt32) |
void | WriteUInt64 (sal_uInt64 nuInt64) |
Private Attributes | |
css::uno::Reference< css::io::XOutputStream > | xStream |
css::uno::Reference< css::io::XSeekable > | xSeek |
css::uno::Sequence< sal_Int8 > | a2Sequence |
css::uno::Sequence< sal_Int8 > | a4Sequence |
css::uno::Sequence< sal_Int8 > | a8Sequence |
sal_Int8 *const | p2Sequence |
sal_Int8 *const *const | p4Sequence |
sal_Int8 *const *const *const | p8Sequence |
Definition at line 28 of file ByteChucker.hxx.
ByteChucker::ByteChucker | ( | css::uno::Reference< css::io::XOutputStream > const & | xOstream | ) |
Definition at line 27 of file ByteChucker.cxx.
References xStream.
ByteChucker::~ByteChucker | ( | ) |
Definition at line 39 of file ByteChucker.cxx.
sal_Int64 ByteChucker::GetPosition | ( | ) |
css::io::IOException | |
css::uno::RuntimeException |
Definition at line 48 of file ByteChucker.cxx.
References xSeek.
Referenced by ZipOutputStream::finish(), and ZipOutputStream::writeLOC().
void ByteChucker::WriteBytes | ( | const css::uno::Sequence< sal_Int8 > & | aData | ) |
css::io::NotConnectedException | |
css::io::BufferSizeExceededException | |
css::io::IOException | |
css::uno::RuntimeException |
Definition at line 43 of file ByteChucker.cxx.
References aData, and xStream.
Referenced by ZipOutputStream::rawWrite(), ZipOutputStream::writeCEN(), WriteInt16(), WriteInt32(), ZipOutputStream::writeLOC(), WriteUInt32(), and WriteUInt64().
|
inline |
Definition at line 49 of file ByteChucker.hxx.
References a2Sequence, p2Sequence, and WriteBytes().
Referenced by ZipOutputStream::writeCEN(), ZipOutputStream::writeEND(), ZipOutputStream::writeExtraFields(), and ZipOutputStream::writeLOC().
|
inline |
Definition at line 56 of file ByteChucker.hxx.
References a4Sequence, p4Sequence, and WriteBytes().
Referenced by ZipOutputStream::writeCEN(), ZipOutputStream::writeDataDescriptor(), ZipOutputStream::writeEND(), ZipOutputStream::writeExtraFields(), and ZipOutputStream::writeLOC().
|
inline |
Definition at line 65 of file ByteChucker.hxx.
References a4Sequence, p4Sequence, and WriteBytes().
Referenced by ZipOutputStream::writeCEN(), ZipOutputStream::writeDataDescriptor(), ZipOutputStream::writeEND(), and ZipOutputStream::writeLOC().
|
inline |
Definition at line 74 of file ByteChucker.hxx.
References a8Sequence, p8Sequence, and WriteBytes().
Referenced by ZipOutputStream::writeDataDescriptor(), and ZipOutputStream::writeExtraFields().
|
private |
Definition at line 32 of file ByteChucker.hxx.
Referenced by WriteInt16().
|
private |
Definition at line 32 of file ByteChucker.hxx.
Referenced by WriteInt32(), and WriteUInt32().
|
private |
Definition at line 32 of file ByteChucker.hxx.
Referenced by WriteUInt64().
|
private |
Definition at line 33 of file ByteChucker.hxx.
Referenced by WriteInt16().
|
private |
Definition at line 33 of file ByteChucker.hxx.
Referenced by WriteInt32(), and WriteUInt32().
|
private |
Definition at line 33 of file ByteChucker.hxx.
Referenced by WriteUInt64().
|
private |
Definition at line 31 of file ByteChucker.hxx.
Referenced by GetPosition().
|
private |
Definition at line 30 of file ByteChucker.hxx.
Referenced by WriteBytes().