Class NTV1

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

public final class NTV1 extends Object
  • Field Details

    • magic1

      private static final byte[] magic1
    • magic2

      private static final byte[] magic2
    • magic3

      private static final byte[] magic3
  • Constructor Details

    • NTV1

      public NTV1()
  • 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)