Class BlobHeader

java.lang.Object
org.openstreetmap.josm.data.osm.pbf.BlobHeader

public final class BlobHeader extends Object
A "BlobHeader" which contains metadata for a Blob.
Since:
18695
  • Field Details

  • Constructor Details

    • BlobHeader

      public BlobHeader(@Nonnull String type, @Nullable byte[] indexData, int dataSize)
      Create a new BlobHeader
      Parameters:
      type - The type of data in the blob
      indexData - The metadata for the blob
      dataSize - The size of the blob
  • Method Details

    • type

      public String type()
      Get the blob type
      Returns:
      The blob type
    • indexData

      public byte[] indexData()
      Get the blob metadata
      Returns:
      The blob metadata
    • dataSize

      public int dataSize()
      Get the blob size
      Returns:
      The blob size