This service allows to wrap a sequence of bytes with a stream object. More...
import "SequenceInputStream.idl";
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 |
This service allows to wrap a sequence of bytes with a stream object.
| createStreamFromSequence | ( | [in] sequence< byte > | aData | ) |
allows to create a stream based on the sequence.