code: public static String getNativeLibraryVersion()
      {
          URL versionFile = SnappyLoader.class.getResource("/org/xerial/snappy/VERSION");
  
          String version = "unknown";
          try {
              if (versionFile != null) {
                  InputStream in = null;
                  try {
                      Properties versionData = new Properties();
                      in = versionFile.openStream();
                      versionData.load(in);
                      version = versionData.getProperty("version", version);
                      if (version.equals("unknown")) {
                          version = versionData.getProperty("SNAPPY_VERSION", version);
                      }
                      version = version.trim().replaceAll("[^0-9\\.]", "");
                  }
                  finally {
                      if(in != null) {
                          in.close();
                      }
                  }
              }
          }
          catch (IOException e) {
              e.printStackTrace();
          }
          return version;
      }
docs: Get the native library version of the snappy
  
  @return native library version