class Amber::Schema::CBOR::Reader

Defined in:

amber/schema/cbor.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(io : IO, max_bytes : Int32 = MAX_BODY_BYTES) #

[View source]

Instance Method Detail

def finish! : Nil #

[View source]
def read_array_size : Int32 #

[View source]
def read_bytes : Bytes #

[View source]
def read_int : Int64 #

[View source]
def read_json(depth = 0) : JSON::Any #

[View source]
def read_map_size : Int32 #

[View source]
def read_tag : UInt64 #

[View source]
def read_text : String #

[View source]