Class LittleEndianDataInputStream

  • All Implemented Interfaces:
    Closeable, DataInput, AutoCloseable

    public final class LittleEndianDataInputStream
    extends FilterInputStream
    implements DataInput
    An implementation of DataInput that uses little-endian byte ordering for reading short, int, float, double, and long values.

    Note: This class intentionally violates the specification of its supertype DataInput, which explicitly requires big-endian byte order.