LibreOffice
LibreOffice 25.8 SDK API Reference
Loading...
Searching...
No Matches
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.
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.
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.
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).
long available () raises ( com::sun::star::io::NotConnectedException, com::sun::star::io::IOException )
 states how many bytes can be read or skipped without blocking.
void closeInput () raises ( com::sun::star::io::NotConnectedException, com::sun::star::io::IOException)
 closes the stream.
Public Member Functions inherited from XInterface
any queryInterface ([in] type aType)
 queries for a new interface to an existing UNO object.
void acquire ()
 increases the reference counter by one.
void release ()
 decreases the reference counter by one.
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.
hyper getPosition () raises ( com::sun::star::io::IOException )
 returns the current offset of the stream.
hyper getLength () raises ( com::sun::star::io::IOException )
 returns the length of the stream.

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: