# Functions
InitWKBParams initializes WKBParams from an initial parameter and some options.
ReadByte reads a byte from r.
ReadFlatCoords0 reads flat coordinates 0.
ReadFlatCoords1 reads flat coordinates 1.
ReadFlatCoords2 reads flat coordinates 2.
ReadFloatArray reads a []float64 from r.
ReadUInt32 reads a uint32 from r.
WKBOptionEmptyPointHandling sets the params to the specified EmptyPointHandling.
WriteByte wrties a byte to w.
WriteEmptyPointAsNaN outputs EmptyPoint as NaN values.
WriteFlatCoords0 writes flat coordinates 0.
WriteFlatCoords1 writes flat coordinates 1.
WriteFlatCoords2 writes flat coordinates 2.
WriteFloatArray writes a []float64 to w.
WriteUInt32 writes a uint32 to w.
# Constants
EmptyPointHandlingError will error if an empty point is found.
EmptyPointHandlingNaN will decipher empty points with NaN as coordinates.
Geometry type IDs.
Geometry type IDs.
Geometry type IDs.
Geometry type IDs.
Geometry type IDs.
Byte order IDs.
Geometry type IDs.
Geometry type IDs.
Geometry type IDs.
Geometry type IDs.
Geometry type IDs.
Byte order IDs.
# Variables
MaxGeometryElements is the maximum number of elements that will be decoded at different levels.
Byte orders.
Byte orders.
# Structs
An ErrGeometryTooLarge is returned when the geometry is too large.
An ErrUnexpectedType is returned when an unexpected type is encountered.
An ErrUnsupportedByteOrder is returned when an unsupported byte order is encountered.
WKBParams are parameters for encoding and decoding WKB items.
# Type aliases
EmptyPointHandling is the mechanism to handle an empty point.
An ErrUnknownByteOrder is returned when an unknown byte order is encountered.
An ErrUnknownType is returned when an unknown type is encountered.
An ErrUnsupportedType is returned when an unsupported type is encountered.
A Type is a WKB code.
WKBOption is an option to set on WKBParams.