Package org.locationtech.proj4j.datum
Class CTABLEV2
java.lang.Object
org.locationtech.proj4j.datum.CTABLEV2
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static boolean
containsAt
(byte[] needle, byte[] haystack, int offset) private static double
doubleFromBytes
(byte[] b, int offset) private static float
floatFromBytes
(byte[] b, int offset) static Grid.ConversionTable
init
(DataInputStream definition) private static int
intFromBytes
(byte[] b, int offset) static void
load
(DataInputStream definition, Grid grid) static boolean
testHeader
(byte[] header)
-
Field Details
-
magic
private static final byte[] magic
-
-
Constructor Details
-
CTABLEV2
public CTABLEV2()
-
-
Method Details
-
testHeader
public static boolean testHeader(byte[] header) -
init
- Throws:
IOException
-
load
- Throws:
IOException
-
containsAt
private static boolean containsAt(byte[] needle, byte[] haystack, int offset) -
doubleFromBytes
private static double doubleFromBytes(byte[] b, int offset) -
intFromBytes
private static int intFromBytes(byte[] b, int offset) -
floatFromBytes
private static float floatFromBytes(byte[] b, int offset)
-