Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
wkb
v0.1.0
WKB
BinDecoder
BinEncoder
DB
GeometryCollectionConverter
GeometryConverter
LineStringConverter
MultiLineStringConverter
MultiPointConverter
MultiPolygonConverter
ObjectConverter
PointConverter
PolygonConverter
DecodeError
EncodeError
Error
Flavor
Geometry
GeometryCollection
LineString
LineStringSequenceable
Mode
MultiLineString
MultiPoint
MultiPolygon
Object
ObjectKind
Point
Polygon
Position
TextDecoder
TextEncoder
Generated using Crystal 1.14.0
2024-11-26 07:07:01 UTC
class
WKB::
TextEncoder
WKB::TextEncoder
Reference
Object
Overview
Textual encoder of well-known representations of geometry objects.
Defined in:
wkb/text_encoder.cr
Constructors
.new
(flavor : WKB::Flavor =
Flavor
::
Basic
)
Instance Method Summary
#encode
(object : Object, io : IO) : Nil
#encode
(object : Object) : String
#flavor
: Flavor
Constructor Detail
def self.
new
(flavor :
WKB::Flavor
=
Flavor
::
Basic
)
#
[
View source
]
Instance Method Detail
def
encode
(object :
Object
, io : IO) : Nil
#
[
View source
]
def
encode
(object :
Object
) : String
#
[
View source
]
def
flavor
:
Flavor
#
[
View source
]