Versions in this module Expand all Collapse all v0 v0.1.0 Jul 29, 2024 Changes in this version + func Decode(r io.Reader) (geo geom.Geometry, err error) + func DecodeBytes(b []byte) (geo geom.Geometry, err error) + func DecodeString(s string) (geo geom.Geometry, err error) + func Encode(w io.Writer, geo geom.Geometry) error + func EncodeBytes(geo geom.Geometry) ([]byte, error) + func EncodeString(geo geom.Geometry) (string, error) + func MustDecode(geo geom.Geometry, err error) geom.Geometry + func MustEncode(geo geom.Geometry) string + type Decoder struct + func NewDecoder(r io.Reader) *Decoder + func (d *Decoder) Decode() (geom.Geometry, error) + type Encoder struct + func NewDefaultEncoder(w io.Writer) Encoder + func NewEncoder(w io.Writer, strict bool, precision int, fmt byte) Encoder + func (enc Encoder) Encode(geo geom.Geometry) error + func (enc Encoder) EncodeString(geo geom.Geometry) (string, error) + func (enc Encoder) MustEncode(geo geom.Geometry) string + func (enc Encoder) NewEncoder(w io.Writer) Encoder + type ErrSyntax struct + Char int + Issue string + Line int + Type string + func (errsy ErrSyntax) Error() string