[ Web Proxy ]
URL:
Viewing: https://docs.oracle.com/en/java/javase/24/docs/api/java.base/java/io/DataOutput.html [Back]  [Original]

DataOutput (Java SE 24 & JDK 24)
Contents 
Hide sidebar ❮❯ Show sidebar
  1. Description
  2. Method Summary
  3. Method Details
    1. write(int)
    2. write(byte[])
    3. write(byte[], int, int)
    4. writeBoolean(boolean)
    5. writeByte(int)
    6. writeShort(int)
    7. writeChar(int)
    8. writeInt(int)
    9. writeLong(long)
    10. writeFloat(float)
    11. writeDouble(double)
    12. writeBytes(String)
    13. writeChars(String)
    14. writeUTF(String)

Interface DataOutput

All Known Subinterfaces:
ImageOutputStream, ObjectOutput
All Known Implementing Classes:
DataOutputStream, FileCacheImageOutputStream, FileImageOutputStream, ImageOutputStreamImpl, MemoryCacheImageOutputStream, ObjectOutputStream, RandomAccessFile

public interface DataOutput
The DataOutput interface provides for converting data from any of the Java primitive types to a series of bytes and writing these bytes to a binary stream. There is also a facility for converting a String into modified UTF-8 format and writing the resulting series of bytes.

For all the methods in this interface that write bytes, it is generally true that if a byte cannot be written for any reason, an IOException is thrown.

Since:
1.0
See Also:


Web Proxy Viewer  |  New URL  |  Original Page