public final class StringSerializationUtil extends Object
Modifier and Type | Method and Description |
---|---|
static String |
readString(DataInput dIn) |
static void |
writeString(DataOutput dOut,
String value)
Writes out value to dOut.
|
public static void writeString(DataOutput dOut, String value) throws IOException
dOut
- the targed output streamvalue
- the string to writeIOException
- in case of error during serializationpublic static String readString(DataInput dIn) throws IOException
IOException
Copyright © 2018 Apache Software Foundation. All rights reserved.