wkbhex

package
v1.4.1-0...-a4d69fd Latest Latest
Warning

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

Go to latest
Published: Jun 2, 2021 License: BSD-2-Clause Imports: 5 Imported by: 0

Documentation

Overview

Package wkbhex implements Well Known Binary encoding and decoding of strings.

Index

Constants

This section is empty.

Variables

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

Functions

func Decode

func Decode(s string, opts ...wkbcommon.WKBOption) (geom.T, error)

Decode decodes an arbitrary geometry from a string.

func Encode

func Encode(g geom.T, byteOrder binary.ByteOrder, opts ...wkbcommon.WKBOption) (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