public class Utils extends Object
Constructor and Description |
---|
Utils() |
Modifier and Type | Method and Description |
---|---|
static ByteBuffer |
readByteBuffer(DataInputStream is) |
static String |
readString(DataInputStream is) |
static void |
writeByteBuffer(ByteBuffer buf,
DataOutputStream os) |
static void |
writeString(String str,
DataOutputStream os) |
public static void writeString(String str, DataOutputStream os) throws IOException
IOException
public static String readString(DataInputStream is) throws IOException
IOException
public static void writeByteBuffer(ByteBuffer buf, DataOutputStream os) throws IOException
IOException
public static ByteBuffer readByteBuffer(DataInputStream is) throws IOException
IOException
Copyright © 2013. All rights reserved.