DataInputStream Class
Package: java.io
This class reads primitive data types, such as integers and doubles, directly from an input stream. It is the class you’ll use most often to read data from a binary file.
Constructor
|
Constructor |
Description |
|
|
Creates a data input stream from any object that extends the |
Methods
|
Method |
Description |
|
|
Reads a |
|
|
Reads a |
|
|
Reads a |
|
|
Reads a |
|
|
Reads a |
|
|
Reads an |
|
|
Reads a |
|
|
Reads a |
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access