class MaxMindDB::Decoder

Defined in:

maxminddb/decoder.cr

Constructors

Instance Method Summary

Instance methods inherited from class Reference

==(other : MaxMindDB::Any) ==

Instance methods inherited from class Object

===(other : MaxMindDB::Any) ===

Constructor Detail

def self.new(buffer : Buffer, pointer_base : Int32, cache_max_size : Int32 | Nil = nil, pointer_test : Bool = false) #

[View source]

Instance Method Detail

def decode(offset : Int32) : Node #

[View source]
def decode : Node #

[View source]
def decode_int(offset : Int32, size : Int32, base : Int) : Int #

Decode integer for external use


[View source]