ewkbhex

package
v1.0.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 8, 2024 License: BSD-2-Clause Imports: 4 Imported by: 0

Documentation

Overview

Package ewkbhex implements Extended Well Known Binary encoding and decoding of strings.

Index

Constants

This section is empty.

Variables

View Source
var (
	// XDR is big endian.
	XDR = ewkb.XDR
	// NDR is little endian.
	NDR = ewkb.NDR
)

Functions

func Decode

func Decode(s string) (geom.T, error)

Decode decodes an arbitrary geometry from a string.

func Encode

func Encode(g geom.T, byteOrder binary.ByteOrder) (string, error)

Encode encodes an arbitrary geometry to a string.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL