Package org.meteoinfo.global
Class Bytes2Number
- java.lang.Object
-
- org.meteoinfo.global.Bytes2Number
-
public class Bytes2Number extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Bytes2Number()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static intint4(int a, int b, int c, int d)Convert four ints into a signed integer.static intint4(java.io.RandomAccessFile raf)Read signed integer of 4 bytes from binary reader
-
-
-
Method Detail
-
int4
public static int int4(int a, int b, int c, int d)Convert four ints into a signed integer.- Parameters:
a- Highest intb- Higher middle intc- Lower middle intd- Lowest int- Returns:
- Integer value
-
int4
public static int int4(java.io.RandomAccessFile raf) throws java.io.IOExceptionRead signed integer of 4 bytes from binary reader- Parameters:
raf- RandomAccessFile- Returns:
- Signed integer
- Throws:
java.io.IOException
-
-