Java: A Beginner's Guide, Sixth Edition: A Beginner's Guide by Herbert Schildt
Author:Herbert Schildt [Schildt, Herbert]
Language: eng
Format: epub, mobi
Tags: -
Publisher: McGraw-Hill Education
Published: 2014-04-14T21:00:00+00:00
Reading and Writing Binary Data
So far, we have just been reading and writing bytes containing ASCII characters, but it is possible—indeed, common—to read and write other types of data. For example, you might want to create a file that contains ints, doubles, or shorts. To read and write binary values of the Java primitive types, you will use DataInputStream and DataOutputStream.
DataOutputStream implements the DataOutput interface. This interface defines methods that write all of Java’s primitive types to a file. It is important to understand that this data is written using its internal, binary format, not its human-readable text form. Several commonly used output methods for Java’s primitive types are shown in Table 10-5. Each throws an IOException on failure.
Download
Java: A Beginner's Guide, Sixth Edition: A Beginner's Guide by Herbert Schildt.mobi
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
Beginner's Guides | Reference |
Servlets |
Hello! Python by Anthony Briggs(9871)
OCA Java SE 8 Programmer I Certification Guide by Mala Gupta(9761)
The Mikado Method by Ola Ellnestam Daniel Brolund(9752)
Algorithms of the Intelligent Web by Haralambos Marmanis;Dmitry Babenko(8262)
Sass and Compass in Action by Wynn Netherland Nathan Weizenbaum Chris Eppstein Brandon Mathis(7753)
Test-Driven iOS Development with Swift 4 by Dominik Hauser(7745)
Grails in Action by Glen Smith Peter Ledbrook(7671)
The Well-Grounded Java Developer by Benjamin J. Evans Martijn Verburg(7521)
Windows APT Warfare by Sheng-Hao Ma(6516)
Secrets of the JavaScript Ninja by John Resig Bear Bibeault(6383)
Layered Design for Ruby on Rails Applications by Vladimir Dementyev(6262)
Blueprints Visual Scripting for Unreal Engine 5 - Third Edition by Marcos Romero & Brenden Sewell(6135)
Kotlin in Action by Dmitry Jemerov(5023)
Hands-On Full-Stack Web Development with GraphQL and React by Sebastian Grebe(4301)
Functional Programming in JavaScript by Mantyla Dan(4023)
Solidity Programming Essentials by Ritesh Modi(3851)
WordPress Plugin Development Cookbook by Yannick Lefebvre(3625)
Unity 3D Game Development by Anthony Davis & Travis Baptiste & Russell Craig & Ryan Stunkel(3573)
The Ultimate iOS Interview Playbook by Avi Tsadok(3542)
