Package com.graphhopper.reader.osm.pbf
Class PbfRawBlob
java.lang.Object
com.graphhopper.reader.osm.pbf.PbfRawBlob
Represents a single piece of raw blob data extracted from the PBF stream. It has not yet been
decoded into a PBF blob object.
- Author:
- Brett Henderson
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
PbfRawBlob
Creates a new instance.- Parameters:
type
- The type of data represented by this blob. This corresponds to the type field in the blob header.data
- The raw contents of the blob in binary undecoded form.
-
-
Method Details
-
getType
Gets the type of data represented by this blob. This corresponds to the type field in the blob header.- Returns:
- The blob type.
-
getData
public byte[] getData()Gets the raw contents of the blob in binary undecoded form.- Returns:
- The raw blob data.
-