LibreOffice LibreOffice 24.2 SDK API Reference

Loading...
Searching...
No Matches
Public Member Functions | List of all members
XDataOutputStream Interface Referencepublished

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

`import <XDataOutputStream.idl;`

Inheritance diagram for XDataOutputStream:

## Public Member Functions
void | writeBoolean ([in] boolean Value) raises ( com::sun::star::io::IOException )
| writes a boolean.
void | writeByte ([in] byte Value) raises ( com::sun::star::io::IOException )
| writes an 8-bit byte.
void | writeChar ([in] char Value) raises ( com::sun::star::io::IOException )
| writes a 16-bit character.
void | writeShort ([in] short Value) raises ( com::sun::star::io::IOException )
| writes a 16-bit big endian integer.
void | writeLong ([in] long Value) raises ( com::sun::star::io::IOException )
| writes a 32-bit big endian integer.
void | writeHyper ([in] hyper Value) raises ( com::sun::star::io::IOException )
| writes a 64-bit big endian integer.
void | writeFloat ([in] float Value) raises ( com::sun::star::io::IOException )
| writes a 32-bit IEEE float.
void | writeDouble ([in] double Value) raises ( com::sun::star::io::IOException )
| writes a 64-bit IEEE double.
void | writeUTF ([in] string Value) raises ( com::sun::star::io::IOException )
| writes a string in UTF format.
Public Member Functions inherited from XOutputStream
void | writeBytes ([in] sequence< byte > aData) raises ( com::sun::star::io::NotConnectedException, com::sun::star::io::BufferSizeExceededException, com::sun::star::io::IOException)
| writes the whole sequence to the stream.
void | flush () raises ( com::sun::star::io::NotConnectedException, com::sun::star::io::BufferSizeExceededException, com::sun::star::io::IOException)
| flushes out of the stream any data that may exist in buffers.
void | closeOutput () raises ( com::sun::star::io::NotConnectedException, com::sun::star::io::BufferSizeExceededException, com::sun::star::io::IOException)
| gets called to indicate that all data has been written.
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.

## Detailed Description

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

See also
  com::sun::star::io::XDataInputStream

## Member Function Documentation

## ◆ writeBoolean()

void writeBoolean | ( | [in] boolean | Value | ) |
raises | ( | com::sun::star::io::IOException ) |  |  |

writes a boolean.

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

## ◆ writeByte()

void writeByte | ( | [in] byte | Value | ) |
raises | ( | com::sun::star::io::IOException ) |  |  |

writes an 8-bit byte.

## ◆ writeChar()

void writeChar | ( | [in] char | Value | ) |
raises | ( | com::sun::star::io::IOException ) |  |  |

writes a 16-bit character.

## ◆ writeDouble()

void writeDouble | ( | [in] double | Value | ) |
raises | ( | com::sun::star::io::IOException ) |  |  |

writes a 64-bit IEEE double.

## ◆ writeFloat()

void writeFloat | ( | [in] float | Value | ) |
raises | ( | com::sun::star::io::IOException ) |  |  |

writes a 32-bit IEEE float.

## ◆ writeHyper()

void writeHyper | ( | [in] hyper | Value | ) |
raises | ( | com::sun::star::io::IOException ) |  |  |

writes a 64-bit big endian integer.

## ◆ writeLong()

void writeLong | ( | [in] long | Value | ) |
raises | ( | com::sun::star::io::IOException ) |  |  |

writes a 32-bit big endian integer.

## ◆ writeShort()

void writeShort | ( | [in] short | Value | ) |
raises | ( | com::sun::star::io::IOException ) |  |  |

writes a 16-bit big endian integer.

## ◆ writeUTF()

void writeUTF | ( | [in] string | Value | ) |
raises | ( | com::sun::star::io::IOException ) |  |  |

writes a string in UTF format.

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

- com/sun/star/io/XDataOutputStream.idl