public class HexRead extends Object
Constructor and Description |
---|
HexRead() |
Modifier and Type | Method and Description |
---|---|
static byte[] |
readData(InputStream stream,
int eofChar) |
static byte[] |
readData(InputStream stream,
String section)
Same as readData(String) except that this method allows you to specify sections within
a file.
|
static byte[] |
readData(String filename)
This method reads hex data from a filename and returns a byte array.
|
static byte[] |
readData(String filename,
String section) |
static byte[] |
readFromString(String data) |
public static byte[] readData(String filename) throws IOException
filename
- The filename to readIOException
- If there was a problem while reading the file.public static byte[] readData(InputStream stream, String section) throws IOException
[sectioname]
IOException
readData(String)
public static byte[] readData(String filename, String section) throws IOException
IOException
public static byte[] readData(InputStream stream, int eofChar) throws IOException
IOException
public static byte[] readFromString(String data)
Copyright © 2020. All rights reserved.