Java org.apache.commons.io EndianUtils fields, constructors, methods, implement or subclass

Example usage for Java org.apache.commons.io EndianUtils fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.commons.io EndianUtils.

The text is from its open source code.

Method

floatreadSwappedFloat(InputStream input)
Reads a "float" value from an InputStream.
intreadSwappedInteger(byte[] data, int offset)
Reads a "int" value from a byte array at a given offset.
intreadSwappedInteger(InputStream input)
Reads a "int" value from an InputStream.
shortreadSwappedShort(byte[] data, int offset)
Reads a "short" value from a byte array at a given offset.
shortreadSwappedShort(InputStream input)
Reads a "short" value from an InputStream.
intreadSwappedUnsignedShort(byte[] data, int offset)
Reads an unsigned short (16-bit) value from a byte array at a given offset.
intswapInteger(int value)
Converts a "int" value between endian systems.
longswapLong(long value)
Converts a "long" value between endian systems.
voidwriteSwappedDouble(OutputStream output, double value)
Writes a "double" value to an OutputStream.
voidwriteSwappedInteger(byte[] data, int offset, int value)
Writes a "int" value to a byte array at a given offset.
voidwriteSwappedInteger(OutputStream output, int value)
Writes a "int" value to an OutputStream.
voidwriteSwappedLong(byte[] data, int offset, long value)
Writes a "long" value to a byte array at a given offset.
voidwriteSwappedLong(OutputStream output, long value)
Writes a "long" value to an OutputStream.
voidwriteSwappedShort(OutputStream output, short value)
Writes a "short" value to an OutputStream.