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)
value - String containing the data to be parsedpublic Geometry parse(byte[] value)
value - byte array containing the data to be parsedprotected Geometry parseGeometry(ValueGetter data)
data - ValueGetter with the data to be parsedCopyright © 2018. All rights reserved.