JOGL v2.6.0-rc-20250706
JOGL, High-Performance Graphics Binding for Java™ (public API).
com.jogamp.opengl.util.texture.spi.LEDataInputStream Class Reference

Little Endian Data Input Stream. More...

Inheritance diagram for com.jogamp.opengl.util.texture.spi.LEDataInputStream:
Collaboration diagram for com.jogamp.opengl.util.texture.spi.LEDataInputStream:

Public Member Functions

 LEDataInputStream (final InputStream in)
 
void close () throws IOException
 
synchronized final int read (final byte b[]) throws IOException
 
synchronized final int read (final byte b[], final int off, final int len) throws IOException
 
final void readFully (final byte b[]) throws IOException
 
final void readFully (final byte b[], final int off, final int len) throws IOException
 
final int skipBytes (final int n) throws IOException
 
final boolean readBoolean () throws IOException
 
final byte readByte () throws IOException
 
final int readUnsignedByte () throws IOException
 
final short readShort () throws IOException
 
final int readUnsignedShort () throws IOException
 
final char readChar () throws IOException
 
final int readInt () throws IOException
 
final long readLong () throws IOException
 
final float readFloat () throws IOException
 
final double readDouble () throws IOException
 
final String readLine () throws IOException
 dont call this it is not implemented. More...
 
final String readUTF () throws IOException
 dont call this it is not implemented More...
 

Static Public Member Functions

static final String readUTF (final DataInput in) throws IOException
 dont call this it is not implemented More...
 

Detailed Description

Little Endian Data Input Stream.

This class implements an input stream filter to allow reading of java native datatypes from an input stream which has those native datatypes stored in a little endian byte order.

This is the sister class of the DataInputStream which allows for reading of java native datatypes from an input stream with the datatypes stored in big endian byte order.

This class implements the minimum required and calls DataInputStream for some of the required methods for DataInput.

Not all methods are implemented due to lack of immediatte requirement for that functionality. It is not clear if it is ever going to be functionally required to be able to read UTF data in a LittleEndianManner

Author
Robin Luiten
Version
1.1 15/Dec/1997

Definition at line 71 of file LEDataInputStream.java.

Constructor & Destructor Documentation

◆ LEDataInputStream()

com.jogamp.opengl.util.texture.spi.LEDataInputStream.LEDataInputStream ( final InputStream  in)

Definition at line 79 of file LEDataInputStream.java.

Member Function Documentation

◆ close()

void com.jogamp.opengl.util.texture.spi.LEDataInputStream.close ( ) throws IOException

Definition at line 86 of file LEDataInputStream.java.

◆ read() [1/2]

synchronized final int com.jogamp.opengl.util.texture.spi.LEDataInputStream.read ( final byte  b[]) throws IOException

Definition at line 93 of file LEDataInputStream.java.

◆ read() [2/2]

synchronized final int com.jogamp.opengl.util.texture.spi.LEDataInputStream.read ( final byte  b[],
final int  off,
final int  len 
) throws IOException

Definition at line 99 of file LEDataInputStream.java.

◆ readBoolean()

final boolean com.jogamp.opengl.util.texture.spi.LEDataInputStream.readBoolean ( ) throws IOException

Definition at line 124 of file LEDataInputStream.java.

◆ readByte()

final byte com.jogamp.opengl.util.texture.spi.LEDataInputStream.readByte ( ) throws IOException

Definition at line 133 of file LEDataInputStream.java.

◆ readChar()

final char com.jogamp.opengl.util.texture.spi.LEDataInputStream.readChar ( ) throws IOException

Definition at line 171 of file LEDataInputStream.java.

◆ readDouble()

final double com.jogamp.opengl.util.texture.spi.LEDataInputStream.readDouble ( ) throws IOException

Definition at line 207 of file LEDataInputStream.java.

Here is the call graph for this function:

◆ readFloat()

final float com.jogamp.opengl.util.texture.spi.LEDataInputStream.readFloat ( ) throws IOException

Definition at line 201 of file LEDataInputStream.java.

Here is the call graph for this function:

◆ readFully() [1/2]

final void com.jogamp.opengl.util.texture.spi.LEDataInputStream.readFully ( final byte  b[]) throws IOException

Definition at line 106 of file LEDataInputStream.java.

◆ readFully() [2/2]

final void com.jogamp.opengl.util.texture.spi.LEDataInputStream.readFully ( final byte  b[],
final int  off,
final int  len 
) throws IOException

Definition at line 112 of file LEDataInputStream.java.

◆ readInt()

final int com.jogamp.opengl.util.texture.spi.LEDataInputStream.readInt ( ) throws IOException

Definition at line 181 of file LEDataInputStream.java.

Here is the caller graph for this function:

◆ readLine()

final String com.jogamp.opengl.util.texture.spi.LEDataInputStream.readLine ( ) throws IOException

dont call this it is not implemented.

Returns
empty new string

Definition at line 217 of file LEDataInputStream.java.

◆ readLong()

final long com.jogamp.opengl.util.texture.spi.LEDataInputStream.readLong ( ) throws IOException

Definition at line 193 of file LEDataInputStream.java.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ readShort()

final short com.jogamp.opengl.util.texture.spi.LEDataInputStream.readShort ( ) throws IOException

Definition at line 151 of file LEDataInputStream.java.

◆ readUnsignedByte()

final int com.jogamp.opengl.util.texture.spi.LEDataInputStream.readUnsignedByte ( ) throws IOException

Definition at line 142 of file LEDataInputStream.java.

◆ readUnsignedShort()

final int com.jogamp.opengl.util.texture.spi.LEDataInputStream.readUnsignedShort ( ) throws IOException

Definition at line 161 of file LEDataInputStream.java.

◆ readUTF() [1/2]

final String com.jogamp.opengl.util.texture.spi.LEDataInputStream.readUTF ( ) throws IOException

dont call this it is not implemented

Returns
empty new string

Definition at line 227 of file LEDataInputStream.java.

◆ readUTF() [2/2]

static final String com.jogamp.opengl.util.texture.spi.LEDataInputStream.readUTF ( final DataInput  in) throws IOException
static

dont call this it is not implemented

Returns
empty new string

Definition at line 236 of file LEDataInputStream.java.

◆ skipBytes()

final int com.jogamp.opengl.util.texture.spi.LEDataInputStream.skipBytes ( final int  n) throws IOException

Definition at line 118 of file LEDataInputStream.java.


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