public double readDouble(InputStream in) throws IOException {
byte[] tmp = new byte[8 * 8];//8個字節長度
if (in != null && (in.read(tmp) != -1)) {
String str = new String(tmp);
return Double.valueOf(str);
}
return -1;
}
public double readDouble(InputStream in) throws IOException {
byte[] tmp = new byte[8 * 8];//8個字節長度
if (in != null && (in.read(tmp) != -1)) {
String str = new String(tmp);
return Double.valueOf(str);
}
return -1;
}