ooodev.adapter.io.data_input_stream_partial module
- class ooodev.adapter.io.data_input_stream_partial.DataInputStreamPartial(component, interface=com.sun.star.io.XDataInputStream)[source]
Bases:
InputStreamPartial
Partial Class XDataInputStream.
- Parameters:
component (XDataInputStream) –
interface (UnoInterface | None) –
- __init__(component, interface=com.sun.star.io.XDataInputStream)[source]
Constructor
- Parameters:
component (XDataInputStream) – UNO Component that implements
com.sun.star.io.XDataInputStream
interface.interface (UnoInterface, optional) – The interface to be validated. Defaults to
XDataInputStream
.
- Return type:
None
- read_boolean()[source]
Reads in a boolean.
It is an 8-bit value. 0 means FALSE; all other values mean TRUE.
- Raises:
com.sun.star.io.IOException –
IOException
- Return type:
int
- read_byte()[source]
Reads an 8-bit byte.
- Raises:
com.sun.star.io.IOException –
IOException
- Return type:
int
- read_char()[source]
Reads a 16-bit unicode character.
- Raises:
com.sun.star.io.IOException –
IOException
- Return type:
str
- read_double()[source]
Reads a 64-bit IEEE double.
- Raises:
com.sun.star.io.IOException –
IOException
- Return type:
float
- read_float()[source]
Reads a 32-bit IEEE float.
- Raises:
com.sun.star.io.IOException –
IOException
- Return type:
float
- read_hyper()[source]
Reads a 64-bit big endian integer.
- Raises:
com.sun.star.io.IOException –
IOException
- Return type:
int
- read_long()[source]
Reads a 32-bit big endian integer.
- Raises:
com.sun.star.io.IOException –
IOException
- Return type:
int