LibreOffice
LibreOffice 6.4 SDK API Reference
Public Member Functions | List of all members
XDataInputStream Interface Referencepublished

makes it possible to read machine-independent simple data types from a stream. More...

import"XDataInputStream.idl";

Inheritance diagram for XDataInputStream:
XInputStream XInterface DataInputStream XObjectInputStream ObjectInputStream

Public Member Functions

byte readBoolean () raises ( com::sun::star::io::IOException )
 reads in a boolean. More...
 
byte readByte () raises ( com::sun::star::io::IOException )
 reads an 8-bit byte. More...
 
char readChar () raises ( com::sun::star::io::IOException )
 reads a 16-bit unicode character. More...
 
short readShort () raises ( com::sun::star::io::IOException )
 reads a 16-bit big endian integer. More...
 
long readLong () raises ( com::sun::star::io::IOException )
 reads a 32-bit big endian integer. More...
 
hyper readHyper () raises ( com::sun::star::io::IOException )
 reads a 64-bit big endian integer. More...
 
float readFloat () raises ( com::sun::star::io::IOException )
 reads a 32-bit IEEE float. More...
 
double readDouble () raises ( com::sun::star::io::IOException )
 reads a 64-bit IEEE double. More...
 
string readUTF () raises ( com::sun::star::io::IOException )
 reads a string of UTF encoded characters. 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...
 

Detailed Description

makes it possible to read machine-independent simple data types from a stream.

See also
com::sun::star::io::XDataOutputStream

Member Function Documentation

◆ readBoolean()

byte readBoolean ( )
raises (com::sun::star::io::IOException
)

reads in a boolean.

It is an 8-bit value. 0 means FALSE; all other values mean TRUE.

◆ readByte()

byte readByte ( )
raises (com::sun::star::io::IOException
)

reads an 8-bit byte.

◆ readChar()

char readChar ( )
raises (com::sun::star::io::IOException
)

reads a 16-bit unicode character.

◆ readDouble()

double readDouble ( )
raises (com::sun::star::io::IOException
)

reads a 64-bit IEEE double.

◆ readFloat()

float readFloat ( )
raises (com::sun::star::io::IOException
)

reads a 32-bit IEEE float.

◆ readHyper()

hyper readHyper ( )
raises (com::sun::star::io::IOException
)

reads a 64-bit big endian integer.

◆ readLong()

long readLong ( )
raises (com::sun::star::io::IOException
)

reads a 32-bit big endian integer.

◆ readShort()

short readShort ( )
raises (com::sun::star::io::IOException
)

reads a 16-bit big endian integer.

◆ readUTF()

string readUTF ( )
raises (com::sun::star::io::IOException
)

reads a string of UTF encoded characters.


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