decodeHex<R extends Geometry> static method
R
decodeHex<R extends Geometry>(
- String bytesHex, {
- BinaryFormat<
SimpleGeometryContent> format = WKB.geometry, - CoordRefSys? crs,
- Map<
String, dynamic> ? options,
Decodes a geometry of R
from bytesHex
(as a hex string) conforming to
format
.
See decode for more information.
Implementation
static R decodeHex<R extends Geometry>(
String bytesHex, {
BinaryFormat<SimpleGeometryContent> format = WKB.geometry,
CoordRefSys? crs,
Map<String, dynamic>? options,
}) =>
decode(
Uint8ListUtils.fromHex(bytesHex),
format: format,
crs: crs,
options: options,
);