WKB class

The Well-known binary (WKB) format, see geometry for the standard WKB and geometryExtended for the Extended WKB (EWKB).

More information:

Constructors

WKB()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

decodeCoordType(Uint8List bytes) Coords
Decodes a coordinate type from bytes representing standard WKB or Extended WKB (EWKB) data.
decodeCoordTypeHex(String bytesHex) Coords
Decodes a coordinate type from bytesHex (as a hex string) representing standard WKB or Extended WKB (EWKB) data.
decodeEndian(Uint8List bytes) Endian
Decodes a byte order (Endian.little or Endian.big) from bytes representing standard WKB or Extended WKB (EWKB) data.
decodeEndianHex(String bytesHex) Endian
Decodes a byte order (Endian.little or Endian.big) from bytesHex (as a hex string) representing standard WKB or Extended WKB (EWKB) data.
decodeFlavor(Uint8List bytes) WkbFlavor
Decodes a format flavor from bytes representing standard WKB or Extended WKB (EWKB) data.
decodeFlavorHex(String bytesHex) WkbFlavor
Decodes a format flavor from bytesHex (as a hex string) representing standard WKB or Extended WKB (EWKB) data.
decodeSRID(Uint8List bytes) int?
Decodes an optional SRID from bytes representing Extended WKB (EWKB) data.
decodeSRIDHex(String bytesHex) int?
Decodes an optional SRID from bytesHex (as a hex string) representing Extended WKB (EWKB) data.

Constants

geometry → const BinaryFormat<GeometryContent>
The Well-known binary (WKB) format for geometries.
geometryExtended → const BinaryFormat<GeometryContent>
The Extended WKB (EWKB) format for geometries.