Class LittleEndianDataOutputStream

  • All Implemented Interfaces:
    Closeable, DataOutput, Flushable, AutoCloseable

    @Beta
    public class LittleEndianDataOutputStream
    extends FilterOutputStream
    implements DataOutput
    An implementation of DataOutput that uses little-endian byte ordering for writing char, short, int, float, double, and long values.

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

    Since:
    8.0