public class FieldReader extends Object
| Modifier and Type | Method and Description |
|---|---|
static String |
readField(InputStream input,
int length,
Charset charset)
Read a field.
|
static String |
readUntilNul(InputStream input,
int length,
Charset charset)
Read until null.
|
public static String readUntilNul(InputStream input, int length, Charset charset) throws IOException
input - the InputStream.length - the length.charset - the Charset.String.IOException - Signals that an I/O exception has occurred.public static String readField(InputStream input, int length, Charset charset) throws IOException
input - the InputStream.length - the length.charset - the Charset.String.IOException - Signals that an I/O exception has occurred.Copyright © 2018. All rights reserved.