class WKB::BinEncoder

Overview

Binary encoder of well-known representations of geometry objects (WKB).

Defined in:

wkb/bin_encoder.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(flavor : WKB::Flavor = Flavor::Basic, format : IO::ByteFormat = IO::ByteFormat::LittleEndian) #

[View source]

Instance Method Detail

def encode(object : Object, io : IO) : Nil #

[View source]
def encode(object : Object) : Bytes #

[View source]
def flavor : Flavor #

[View source]
def format : IO::ByteFormat #

[View source]