LibreOffice Module io (master) 1
Public Member Functions | List of all members
io_stm::MemFIFO Class Reference

#include <streamhelper.hxx>

Inheritance diagram for io_stm::MemFIFO:
[legend]
Collaboration diagram for io_stm::MemFIFO:
[legend]

Public Member Functions

void write (const Sequence< sal_Int8 > &)
 
void read (Sequence< sal_Int8 > &, sal_Int32 nBytesToRead)
 
void skip (sal_Int32 nBytesToSkip)
 
sal_Int32 getSize () const noexcept
 

Additional Inherited Members

- Private Member Functions inherited from io_stm::MemRingBuffer
 MemRingBuffer ()
 
virtual ~MemRingBuffer ()
 
void writeAt (sal_Int32 nPos, const Sequence< sal_Int8 > &)
 
void readAt (sal_Int32 nPos, Sequence< sal_Int8 > &, sal_Int32 nBytesToRead) const
 
sal_Int32 getSize () const noexcept
 
void forgetFromStart (sal_Int32 nBytesToForget)
 

Detailed Description

Definition at line 68 of file streamhelper.hxx.

Member Function Documentation

◆ getSize()

sal_Int32 io_stm::MemFIFO::getSize ( ) const
inlinenoexcept

Definition at line 78 of file streamhelper.hxx.

References io_stm::MemRingBuffer::getSize().

Referenced by write().

◆ read()

void io_stm::MemFIFO::read ( Sequence< sal_Int8 > &  seq,
sal_Int32  nBytesToRead 
)
Exceptions
css::io::BufferSizeExceededException

Definition at line 38 of file streamhelper.cxx.

References io_stm::MemRingBuffer::forgetFromStart(), and io_stm::MemRingBuffer::readAt().

◆ skip()

void io_stm::MemFIFO::skip ( sal_Int32  nBytesToSkip)
Exceptions
css::io::BufferSizeExceededException

Definition at line 44 of file streamhelper.cxx.

References io_stm::MemRingBuffer::forgetFromStart().

◆ write()

void io_stm::MemFIFO::write ( const Sequence< sal_Int8 > &  seq)
Exceptions
css::io::BufferSizeExceededException

Definition at line 33 of file streamhelper.cxx.

References getSize(), and io_stm::MemRingBuffer::writeAt().


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