Class file

java.lang.Object
mdbtools.libmdb.file

public class file extends Object
  • Constructor Details

    • file

      public file()
  • Method Details

    • mdb_open

      public static MdbHandle mdb_open(RandomAccess file) throws IOException
      Throws:
      IOException
    • mdb_read_pg

      public static long mdb_read_pg(MdbHandle mdb, long pg) throws IOException
      mdb_read a wrapper for read that bails if anything is wrong
      Throws:
      IOException
    • _mdb_get_int32

      public static int _mdb_get_int32(byte[] buf, int offset)
    • mdb_get_int32

      public static int mdb_get_int32(MdbHandle mdb, int offset)
    • mdb_get_int16

      public static int mdb_get_int16(MdbHandle mdb, int offset)
    • mdb_read_alt_pg

      public static long mdb_read_alt_pg(MdbHandle mdb, long pg) throws IOException
      Throws:
      IOException
    • mdb_get_int24

      public static int mdb_get_int24(MdbHandle mdb, int offset)
    • mdb_swap_pgbuf

      public static void mdb_swap_pgbuf(MdbHandle mdb)
    • unsign

      public static int unsign(byte b)
    • mdb_get_double

      public static double mdb_get_double(MdbHandle mdb, int offset)
    • mdb_get_byte

      public static int mdb_get_byte(MdbHandle mdb, int offset)
    • mdb_get_single

      public static float mdb_get_single(MdbHandle mdb, int offset)