Klasse BinaryParser
java.lang.Object
io.github.sebasbaumh.postgis.binary.BinaryParser
A parser for reading geometries from a binary or hex string representation.
- Autor:
- Sebastian Baumhekel
-
Methodenübersicht
-
Methodendetails
-
parse
Parse a hex encoded geometry- Parameter:
value
- byte array containing the data to be parsedoffset
- offset- Gibt zurück:
- resulting geometry for the parsed data
- Löst aus:
IllegalArgumentException
- if a contained geometry is of the wrong type or the encoding type is unknown
-
parse
Parse a hex encoded geometry- Parameter:
value
- String containing the data to be parsed- Gibt zurück:
- resulting geometry for the parsed data
- Löst aus:
IllegalArgumentException
- if a contained geometry is of the wrong type or the encoding type is unknown
-