## Uses of Interface
java.io.DataInput

- Packages that use DataInput
  Package | Description
  --- | ---
  java.io |

- - ### Uses of DataInput in java.io

    Subinterfaces of DataInput in java.io
    Modifier and Type | Interface and Description
    --- | ---
    `interface` | `ObjectInput` ObjectInput extends the DataInput interface to include the reading of objects.

    Classes in java.io that implement DataInput
    Modifier and Type | Class and Description
    --- | ---
    `class` | `DataInputStream` A data input stream lets an application read primitive Java data types from an underlying input stream in a machine-independent way.
    `class` | `ObjectInputStream` An ObjectInputStream deserializes primitive data and objects previously written using an ObjectOutputStream.

    Methods in java.io with parameters of type DataInput
    Modifier and Type | Method and Description
    --- | ---
    `static String` | DataInputStream.`readUTF(DataInput in)` Reads from the stream `in` a representation of a Unicode character string encoded in modified UTF-8 format; this string of characters is then returned as a `String`.

Copyright © 2025 API Design. All Rights Reserved.