class SBAN::Decoder

Defined in:

sban/decoder.cr

Constructors

Instance Method Summary

Instance methods inherited from class Object

to_sban(io : IO)
to_sban(encoder : SBAN::Encoder)
to_sban : Bytes
to_sban

Class methods inherited from class Object

from_sban(string_or_io) from_sban

Constructor Detail

def self.new(input) #

[View source]

Instance Method Detail

def consume_array(&) #

[View source]
def consume_hash(&) #

[View source]
def current_token : Token::T | Nil #

[View source]
def finish_token! #

[View source]
def read_begin_hash #

[View source]
def read_bool : Bool #

[View source]
def read_bytes #

[View source]
def read_float #

[View source]
def read_int #

[View source]
def read_nil : Nil #

[View source]
def read_nil_or(&) #

[View source]
def read_num #

[View source]
def read_string : String #

[View source]
def read_value : Type #

[View source]
def unexpected_token(token, expected = nil) #

[View source]