Class CTABLEV2

java.lang.Object
org.locationtech.proj4j.datum.CTABLEV2

public final class CTABLEV2 extends Object
  • Field Details

    • magic

      private static final byte[] magic
  • Constructor Details

    • CTABLEV2

      public CTABLEV2()
  • Method Details

    • testHeader

      public static boolean testHeader(byte[] header)
    • init

      public static Grid.ConversionTable init(DataInputStream definition) throws IOException
      Throws:
      IOException
    • load

      public static void load(DataInputStream definition, Grid grid) throws IOException
      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)