Name
java.io.DataOutput
Synopsis
This interface is a slightly smaller version of its J2SE counterpart. It defines methods to write primitive data types to a platform-dependent binary format.
public interfaceDataOutput
{ // public methods public voidwrite
(int b) throws java.io.IOException; public voidwrite
(byte[] b) throws java.io.IOException; public voidwrite
(byte[] b, int off, int len) throws java.io.IOException; public voidwriteBoolean
(boolean v) throws java.io.IOException; public voidwriteByte
(int v) throws java.io.IOException; public voidwriteChar
(int v) throws java.io.IOException; public voidwriteChars
(String s) throws java.io.IOException; public voidwriteInt
(int v) throws java.io.IOException; public voidwriteLong
(long v) throws java.io.IOException; public voidwriteShort
(int v) throws java.io.IOException; public voidwriteUTF
(String str) throws java.io.IOException; }
Get Wireless Java now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.