public OsmHeader getHeader() {
    try (var channel = openChannel()) {
      BlobHeader header = readBlobHeader(channel);
      byte[] blobBytes = readBytes(channel, header.getDatasize());
      return PbfDecoder.decodeHeader(blobBytes);
    } catch (IOException e) {
      throw new IllegalArgumentException(e);
    }
  }
Returns details from the header block for this osm.pbf file.

@throws IllegalArgumentException if an error is encountered reading the file
planetiler-core/src/main/java/com/onthegomap/planetiler/reader/osm/OsmInputFile.java