interface XDataInputStream in module com::sun::star::io::

(Global Index)

Syntax

interface XDataInputStream : com::sun::star::io::XInputStream ;

Description

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

Method Summary

readBoolean reads in a boolean. It is an 8-bit value. 0 means FALSE; all other values mean TRUE.

readByte reads an 8-bit byte.

readChar reads a 16-bit unicode character.

readShort reads a 16-bit big endian integer.

readLong reads a 32-bit big endian integer.

readHyper reads a 64-bit big endian integer.

readFloat reads a 32-bit IEEE float.

readDouble reads a 64-bit IEEE double.

readUTF reads a string of UTF encoded characters.

Method Details



readBoolean

Syntax

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

Description

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


readByte

Syntax

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

Description

reads an 8-bit byte.


readChar

Syntax

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

Description

reads a 16-bit unicode character.


readShort

Syntax

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

Description

reads a 16-bit big endian integer.


readLong

Syntax

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

Description

reads a 32-bit big endian integer.


readHyper

Syntax

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

Description

reads a 64-bit big endian integer.


readFloat

Syntax

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

Description

reads a 32-bit IEEE float.


readDouble

Syntax

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

Description

reads a 64-bit IEEE double.


readUTF

Syntax

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

Description

reads a string of UTF encoded characters.

Top of Page