public class BinaryParser extends Object
Constructor and Description |
---|
BinaryParser() |
Modifier and Type | Method and Description |
---|---|
Geometry |
parse(byte[] value)
Parse a binary encoded geometry.
|
Geometry |
parse(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(String value)
public Geometry parse(byte[] value)
protected Geometry parseGeometry(ValueGetter data)
Copyright © 2014. All rights reserved.