LibreOffice Module package (master) 1
Public Member Functions | Private Attributes | List of all members
ByteChucker Class Referencefinal

#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_Int8a2Sequence
 
css::uno::Sequence< sal_Int8a4Sequence
 
css::uno::Sequence< sal_Int8a8Sequence
 
sal_Int8 *const p2Sequence
 
sal_Int8 *const *const p4Sequence
 
sal_Int8 *const *const *const p8Sequence
 

Detailed Description

Definition at line 28 of file ByteChucker.hxx.

Constructor & Destructor Documentation

◆ ByteChucker()

ByteChucker::ByteChucker ( css::uno::Reference< css::io::XOutputStream > const &  xOstream)

Definition at line 27 of file ByteChucker.cxx.

References xStream.

◆ ~ByteChucker()

ByteChucker::~ByteChucker ( )

Definition at line 39 of file ByteChucker.cxx.

Member Function Documentation

◆ GetPosition()

sal_Int64 ByteChucker::GetPosition ( )
Exceptions
css::io::IOException
css::uno::RuntimeException

Definition at line 48 of file ByteChucker.cxx.

References xSeek.

Referenced by ZipOutputStream::finish(), and ZipOutputStream::writeLOC().

◆ WriteBytes()

void ByteChucker::WriteBytes ( const css::uno::Sequence< sal_Int8 > &  aData)
Exceptions
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().

◆ WriteInt16()

void ByteChucker::WriteInt16 ( sal_Int16  nInt16)
inline

◆ WriteInt32()

void ByteChucker::WriteInt32 ( sal_Int32  nInt32)
inline

◆ WriteUInt32()

void ByteChucker::WriteUInt32 ( sal_uInt32  nuInt32)
inline

◆ WriteUInt64()

void ByteChucker::WriteUInt64 ( sal_uInt64  nuInt64)
inline

Member Data Documentation

◆ a2Sequence

css::uno::Sequence< sal_Int8 > ByteChucker::a2Sequence
private

Definition at line 32 of file ByteChucker.hxx.

Referenced by WriteInt16().

◆ a4Sequence

css::uno::Sequence< sal_Int8 > ByteChucker::a4Sequence
private

Definition at line 32 of file ByteChucker.hxx.

Referenced by WriteInt32(), and WriteUInt32().

◆ a8Sequence

css::uno::Sequence< sal_Int8 > ByteChucker::a8Sequence
private

Definition at line 32 of file ByteChucker.hxx.

Referenced by WriteUInt64().

◆ p2Sequence

sal_Int8* const ByteChucker::p2Sequence
private

Definition at line 33 of file ByteChucker.hxx.

Referenced by WriteInt16().

◆ p4Sequence

sal_Int8* const * const ByteChucker::p4Sequence
private

Definition at line 33 of file ByteChucker.hxx.

Referenced by WriteInt32(), and WriteUInt32().

◆ p8Sequence

sal_Int8* const * const * const ByteChucker::p8Sequence
private

Definition at line 33 of file ByteChucker.hxx.

Referenced by WriteUInt64().

◆ xSeek

css::uno::Reference< css::io::XSeekable > ByteChucker::xSeek
private

Definition at line 31 of file ByteChucker.hxx.

Referenced by GetPosition().

◆ xStream

css::uno::Reference< css::io::XOutputStream > ByteChucker::xStream
private

Definition at line 30 of file ByteChucker.hxx.

Referenced by WriteBytes().


The documentation for this class was generated from the following files: