org.postgis.binary
public class BinaryParser extends java.lang.Object
Constructor and Description |
---|
BinaryParser() |
Modifier and Type | Method and Description |
---|---|
Geometry |
parse(byte[] value)
Parse a binary encoded geometry.
|
Geometry |
parse(java.lang.String value)
Parse a hex encoded geometry
Is synchronized to protect offset counter.
|
protected Geometry |
parseGeometry(ValueGetter data)
Parse a geometry starting at offset.
|
static ValueGetter |
valueGetterForEndian(ByteGetter bytes)
Get the appropriate ValueGetter for my endianness
|
public static ValueGetter valueGetterForEndian(ByteGetter bytes)
bytes
- The appropriate Byte Getterpublic Geometry parse(java.lang.String value)
public Geometry parse(byte[] value)
protected Geometry parseGeometry(ValueGetter data)
Copyright © 2016. All Rights Reserved.