Package org.locationtech.proj4j.datum
Class CTABLEV2
- java.lang.Object
-
- org.locationtech.proj4j.datum.CTABLEV2
-
public final class CTABLEV2 extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private static byte[]
magic
-
Constructor Summary
Constructors Constructor Description CTABLEV2()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description private 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(java.io.DataInputStream definition)
private static int
intFromBytes(byte[] b, int offset)
static void
load(java.io.DataInputStream definition, Grid grid)
static boolean
testHeader(byte[] header)
-
-
-
Method Detail
-
testHeader
public static boolean testHeader(byte[] header)
-
init
public static Grid.ConversionTable init(java.io.DataInputStream definition) throws java.io.IOException
- Throws:
java.io.IOException
-
load
public static void load(java.io.DataInputStream definition, Grid grid) throws java.io.IOException
- Throws:
java.io.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)
-
-