Java com.google.common.io LittleEndianDataInputStream fields, constructors, methods, implement or subclass

Example usage for Java com.google.common.io LittleEndianDataInputStream fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for com.google.common.io LittleEndianDataInputStream.

The text is from its open source code.

Constructor

LittleEndianDataInputStream(InputStream in)
Creates a LittleEndianDataInputStream that wraps the given stream.

Method

voidclose()
Closes this input stream and releases any system resources associated with the stream.
intread(byte b[], int off, int len)
Reads up to len bytes of data from this input stream into an array of bytes.
intread()
Reads the next byte of data from this input stream.
bytereadByte()
doublereadDouble()
Reads a double as specified by DataInputStream#readDouble() , except using little-endian byte order.
floatreadFloat()
Reads a float as specified by DataInputStream#readFloat() , except using little-endian byte order.
voidreadFully(byte[] b)
intreadInt()
Reads an integer as specified by DataInputStream#readInt() , except using little-endian byte order.
longreadLong()
Reads a long as specified by DataInputStream#readLong() , except using little-endian byte order.
shortreadShort()
Reads a short as specified by DataInputStream#readShort() , except using little-endian byte order.
intreadUnsignedByte()
intreadUnsignedShort()
Reads an unsigned short as specified by DataInputStream#readUnsignedShort() , except using little-endian byte order.
longskip(long n)
Skips over and discards n bytes of data from the input stream.
intskipBytes(int n)