class WKB::BinDecoder
- WKB::BinDecoder
- Reference
- Object
Overview
Binary decoder of well-known representations of geometry objects (WKB).
Decoding of all supported flavors is automatic.
NOTE All #decode
metods raise a WKB::Error
if there was a
decoding error, and IO error, or if the geometry object is not valid.
Defined in:
wkb/bin_decoder.crConstructors
Instance Method Summary
- #decode(io : IO) : Object
- #decode(data : Bytes) : Object
- #decode(data : String) : Object
- #default_srid : Int32