LibreOffice
LibreOffice 7.4 SDK API Reference
Public Member Functions | List of all members
SequenceInputStream Service Referencepublished

This service allows to wrap a sequence of bytes with a stream object. More...

import"SequenceInputStream.idl";

Inheritance diagram for SequenceInputStream:
XSeekableInputStream XInputStream XSeekable XInterface XInterface

Public Member Functions

 createStreamFromSequence ([in] sequence< byte > aData)
 allows to create a stream based on the sequence. More...
 
- Public Member Functions inherited from XInputStream
long readBytes ([out] sequence< byte > aData, [in] long nBytesToRead) raises ( com::sun::star::io::NotConnectedException, com::sun::star::io::BufferSizeExceededException, com::sun::star::io::IOException)
 reads the specified number of bytes in the given sequence. More...
 
long readSomeBytes ([out] sequence< byte > aData, [in] long nMaxBytesToRead) raises ( com::sun::star::io::NotConnectedException, com::sun::star::io::BufferSizeExceededException, com::sun::star::io::IOException )
 reads the available number of bytes, at maximum nMaxBytesToRead. More...
 
void skipBytes ([in] long nBytesToSkip) raises ( com::sun::star::io::NotConnectedException, com::sun::star::io::BufferSizeExceededException, com::sun::star::io::IOException )
 skips the next nBytesToSkip bytes (must be positive). More...
 
long available () raises ( com::sun::star::io::NotConnectedException, com::sun::star::io::IOException )
 states how many bytes can be read or skipped without blocking. More...
 
void closeInput () raises ( com::sun::star::io::NotConnectedException, com::sun::star::io::IOException)
 closes the stream. More...
 
- Public Member Functions inherited from XInterface
any queryInterface ([in] type aType)
 queries for a new interface to an existing UNO object. More...
 
void acquire ()
 increases the reference counter by one. More...
 
void release ()
 decreases the reference counter by one. More...
 
- Public Member Functions inherited from XSeekable
void seek ([in] hyper location) raises ( com::sun::star::lang::IllegalArgumentException, com::sun::star::io::IOException )
 changes the seek pointer to a new location relative to the beginning of the stream. More...
 
hyper getPosition () raises ( com::sun::star::io::IOException )
 returns the current offset of the stream. More...
 
hyper getLength () raises ( com::sun::star::io::IOException )
 returns the length of the stream. More...
 

Additional Inherited Members

- Exported Interfaces inherited from XSeekableInputStream
interface XInputStream
 
interface XSeekable
 

Detailed Description

This service allows to wrap a sequence of bytes with a stream object.

Member Function Documentation

◆ createStreamFromSequence()

createStreamFromSequence ( [in] sequence< byte >  aData)

allows to create a stream based on the sequence.


The documentation for this service was generated from the following file: